/* Core Layout Settings */
.about-section {  
    background: #f4f7f5; 
    padding: 80px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box; /* Crucial: Prevents elements from blowing past screen bounds */
    overflow: hidden;       /* Safety net against horizontal page shaking */
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;    /* Keeps everything, including the button, dead-centered */
    width: 100%;
    box-sizing: border-box;
}

.about-section h1 {
    color: #1e293b;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.5;
}

/* Three-Column Grid Cards */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 50px; /* Generates breathing room above the button */
}

.about-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Fixes the mobile side-push issue */
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-card h3 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.about-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Modern Pill Button (Now clean of any external wrappers) */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00b4db, #0083b0); 
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 180, 219, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-modern .btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 180, 219, 0.4);
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.btn-modern:hover .btn-icon {
    transform: translateX(4px);
}

/* Responsive adjustment for clean stacking on small screens */
@media(max-width: 768px) {
    .about-section {
        padding: 50px 15px; /* Slightly tighter side padding for small phones */
    }
    .about-section h1 {
        font-size: 2.2rem;
    }
    .about-subtitle {
        margin-bottom: 2.5rem;
    }
    .about-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .about-card {
        width: 100%;
        max-width: 100%; /* Forces cards to stay beautifully contained on mobile layouts */
    }
}
/* Modern Button Container */
.about-action {
    margin-top: 50px;
    display: flex;
    justify-content: center; 
    align-items: center;     
    width: 100%;
    padding: 20px 0;         
}

/* Modern Pill Button */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    
    /* Vibrant, modern juice gradient */
    background: linear-gradient(135deg, #00b4db, #0083b0); 
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    
    /* Smooth pill shape */
    padding: 16px 36px;
    border-radius: 50px;
    
    /* Deep modern soft shadow */
    box-shadow: 0 10px 25px rgba(0, 180, 219, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle arrow icon animation */
.btn-modern .btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Modern Hover Effects */
.btn-modern:hover {
    /* Lift upward slightly */
    transform: translateY(-3px);
    /* Make the shadow pop and glow */
    box-shadow: 0 15px 30px rgba(0, 180, 219, 0.4);
    /* Shift gradient slightly for dynamic feel */
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.btn-modern:hover .btn-icon {
    /* Nudges the arrow forward on hover */
    transform: translateX(4px);
}

/* Active click state */
.btn-modern:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 180, 219, 0.3);
}


    /* burger icon CSS*/
        .burger{
         display: none;
         width: 50px;
         height: 50px;
         border: none;
         background: rgba(255,255,255,0.15);
         backdrop-filter: blur(10px);
         border-radius: 14px;
         cursor: pointer;
         position: absolute;
         top: 15px;
         right: 20px;
         z-index: 2000;

         /* Flex for lines */
         flex-direction: column;
         justify-content: center;
         align-items: center;
         gap: 6px;

        transition: all 0.3s ease;
}
         /* Burger Lines */
         .burger span{
         width: 24px;
         height: 3px;
         background: black;
         border-radius: 20px;
         transition: all 0.3s ease;
}       
        /* Animate to X */
         .burger.active span:nth-child(1){
          transform: rotate(45deg) translate(6px, 6px);
}

        .burger.active span:nth-child(2){
         opacity: 0;
}

         .burger.active span:nth-child(3){
          transform: rotate(-45deg) translate(6px, -6px);
}



 /* ==========================================================================
   Footer Styling
   ========================================================================== */
footer {
    background-color: #f0eee6;
    color: black;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-section p, .footer-section li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.social-icons {
    display: flex;
    justify-content: center; 
    gap: 15px;
    margin-top: 1.5rem;
    width: 100%;  
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgb(7, 0, 0);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}
        
.social-icons a:hover {
    background: var(--primary-color);
    color: #f9f8f8;
    transform: translateY(-3px);
}

.footer-line {
    border: none;
    border-top: 1px solid #cfcece;
    margin: 20px 0;
}

.copy {
    font-size: x-small;
}


/* ==========================================================================
   Responsive Adaptations Media Queries
   ========================================================================== */
@media(max-width:768px){
    .burger {
        display: flex;
    }

    header {
        padding: 15px 20px;
    }

    header h1 {
        margin: 0;
        font-size: 20px;
        text-align: left;
        margin-right: 42%;
    }

    .nav-main {
        position: absolute;
        top: 75px;
        right: 20px;
        width: 220px;
        padding: 20px;
        background: white;
        border-radius: 14px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
        gap: 14px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s ease;
        align-items: flex-start;
    }

    .nav-main.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-main a {
        color: #222;
        margin: 0;
        font-size: 16px;
        padding: 6px 0;
        width: 100%;
    }

    .nav-main a:hover {
        color: #f4b400;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .footer-content {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}