.about {
    padding: 100px 0;
    margin-top: 100px; /* pushes the section down */
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05) 0%, rgba(54, 145, 54, 0.05) 100%);
    position: relative;
    overflow: hidden;
}



.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.heading {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.heading h2 {
    font-size: 3.5rem;
    background: #1e90ff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.heading h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #369151, #1e90ff);
    border-radius: 2px;
    animation: expandLine 1.5s ease-out 0.5s both;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.box {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-content {
    flex: 1;
    padding: 20px;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #444;
    text-align: justify;
    position: relative;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.about-text::first-letter {
    font-size: 4rem;
    font-weight: bold;
    float: left;
    line-height: 1;
    margin: 0 8px 0 0;
    background: linear-gradient(45deg, #368a91, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #1e90ff, #368d91);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.3);
    animation: bounceIn 1s ease-out 0.9s both;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.4);
}

.cta-btn:hover::before {
    left: 100%;
}

.hero-container1 {
    flex: 1;
    position: relative;
    animation: slideInRight 1s ease-out 0.6s both;
}

.hero-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-img:hover img {
    transform: scale(1.05);
}

/* Enhanced Mission, Vision, Values Section */
.space {
    padding: 100px 0;
    background: #1d4b78;
    position: relative;
    overflow: hidden;
}

.space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="3s" repeatCount="indefinite"/></circle><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"><animate attributeName="opacity" values="0.1;0.4;0.1" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="%23ffffff" opacity="0.1"><animate attributeName="opacity" values="0.1;0.5;0.1" dur="4s" repeatCount="indefinite"/></circle></svg>');
    pointer-events: none;
}

.mi-vi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.col {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out both;
}

.col:nth-child(1) {
    animation-delay: 0.2s;
}

.col:nth-child(2) {
    animation-delay: 0.4s;
}

.col:nth-child(3) {
    animation-delay: 0.6s;
}

.col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e90ff, #368591, #6b93ff);
    border-radius: 2px 2px 0 0;
}

.col:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.col h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.col h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #1e90ff, #366491);
    border-radius: 1px;
}

.col p {
    font-size: 1.1rem;
    line-height: 1.8;
    animation: none;
    /* Override the global p animation */
}

.col strong {
    color: #000000;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

/* Enhanced Responsive Design */
@media screen and (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .heading h2 {
        font-size: 2.5rem;
    }

    .box {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
        margin-bottom: 60px;
    }

    .about-text {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .about-text::first-letter {
        font-size: 3rem;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .space {
        padding: 60px 0;
    }

    .mi-vi {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .col {
        padding: 30px 25px;
    }

    .col h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .col p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .heading h2 {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .col {
        padding: 25px 20px;
    }
}

/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #1e90ff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
}

.cursor-bubble {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    background: rgba(30, 144, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Hide default cursor */
* {
    cursor: none !important;
}

/* Hover effects for interactive elements */
a:hover~.custom-cursor,
button:hover~.custom-cursor,
input:hover~.custom-cursor,
textarea:hover~.custom-cursor,
select:hover~.custom-cursor,
[onclick]:hover~.custom-cursor {
    width: 30px;
    height: 30px;
    background: #000000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

a:hover~.cursor-bubble,
button:hover~.cursor-bubble,
input:hover~.cursor-bubble,
textarea:hover~.cursor-bubble,
select:hover~.cursor-bubble,
[onclick]:hover~.cursor-bubble {
    width: 60px;
    height: 60px;
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
/* Removed media query that hides custom cursor on mobile to enable bubble cursor animations on mobile */
/* @media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }

    .custom-cursor,
    .cursor-bubble {
        display: none;
    }
} */
