/* THE AGAMIN WAY PAGE  */

/* THE AGAMIN WAY PAGE  */

/* THE AGAMIN WAY PAGE  */


/* PHILOSOPHY  */

/* Section & Typography */
.philosophy-section .text-highlight {
    color: #31bad8;
}

.philosophy-section .tracking-widest {
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* Card Styling */
.philosophy-card {
    position: relative;
    height: 450px; /* Adjust height as needed */
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding: 40px 30px;
    transition: all 0.3s ease;
    display: flex;
}

.philosophy-card .card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #ffffff;
    z-index: 2;
    background: transparent;
}

.philosophy-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0; /* Keep it strictly at the top */
    line-height: 1.2;
}

.philosophy-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 50px; /* This pushes the text to the bottom, keeping titles aligned at top */
    opacity: 0.85;
}

/* Hover Effect */
.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .philosophy-card {
        height: 380px;
    }
    .philosophy-card h3 {
        font-size: 1.4rem;
    }
}


.philosophy-card {
    position: relative;
    height: 450px;
    border-radius: 24px;
    overflow: hidden; /* Important to clip the blurred edges */
    display: flex;
    padding: 40px 30px;
    background-color: #000; /* Fallback color */
}

/* The Background Layer */
.philosophy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    
    /* Blur Effect */
    filter: blur(4px); 
    /* Slight scale up prevents "white edges" caused by blurring */
    transform: scale(1.1); 
    
    /* Overlay to keep text readable without a heavy gradient */
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: overlay;
    
    z-index: 1;
}

.philosophy-card .card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #ffffff;
    z-index: 2; /* Ensures text sits above the blurred background */
}

.philosophy-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}



/* VISION Section  */
.vision-section {
    background-color: #f8f9fa; /* Light grey background from image */
    overflow: hidden;
}

.vision-section .tracking-widest {
    letter-spacing: 0.15em;
    color: #666;
    font-weight: 500;
}

.vision-section h2 {
    color: #2d2d2d;
    line-height: 1.1;
}

.vision-section .text-highlight {
    color: #31bad8 !important ; /* The cyan color used throughout the brand */
}

.vision-section .vision-description p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #444;
}

/* Image Container Styling */
.vision-image-container {
    position: relative;
    width: 100%;
}

.vision-section .rounded-custom {
    border-radius: 40px; /* Large rounded corners as seen in screenshot */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Tweaks */
@media (max-width: 991px) {
    .vision-section .vision-content {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .vision-section h2 {
        font-size: 2.2rem;
    }
}


/* MISSION Section  */
.mission-section {
    background-color: #ffffff;
}

.mission-section .tracking-widest {
    letter-spacing: 0.15em;
    color: #666;
}

.mission-section .text-highlight {
    color: #31bad8;
}

.mission-section .description {
    max-width: 700px;
    line-height: 1.6;
}

/* Mission Card Styling */
.mission-card {
    position: relative;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px 20px;
    background-color: #000;
}

/* Background Layer with Blur */
.mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    /* filter: blur(2px);  */
    transform: scale(1.05); /* Prevents white edges from blur */
    opacity: 0.7; /* Darkens image for text contrast */
    z-index: 1;
}

/* Overlay for text legibility */
.mission-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    z-index: 2;
}

.mission-card .card-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    width: 100%;
}

.mission-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .mission-card {
        height: 350px;
    }
    .mission-card h3 {
        font-size: 1.2rem;
    }
}



/* ABOUT US */
.about-section {
    background-color: #000000; /* Dark background as seen in image */
    color: #ffffff;
}

.about-section .tracking-widest {
    letter-spacing: 0.2em;
    color: #999;
}

.about-section h2 {
    line-height: 1.2;
}

.about-section .text-highlight {
    color: #31bad8; /* Branding cyan color */
}

.about-section .about-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #cccccc; /* Slightly dimmed white for readability */
}

/* Image Styling */
.about-image-wrapper {
    position: relative;
    width: 100%;
}

.about-section .rounded-about {
    border-radius: 40px; /* Large rounded corners as per Screenshot 2026-05-06 100226_4.jpg */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-section .about-description {
        text-align: left;
    }
    
    .about-section h2 {
        font-size: 2.5rem;
    }
}



/* Final Section  */
.mission-grid-section {
    background-color: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

.mission-grid-section .text-highlight {
    color: #4dc3e0;
}

.mission-grid-section .tracking-widest {
    letter-spacing: 0.15em;
    color: #666;
}

/* Grid Card Styling */
.grid-card {
    position: relative;
    height: 500px; /* Increased height for full-width impact */
    overflow: hidden;
    background-color: #000;
}

.grid-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.grid-card:hover::before {
    transform: scale(1.08);
}

/* Dark Overlay for Text Contrast */
.grid-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    align-items: flex-end;
    padding: 60px; /* More padding for large screens */
    z-index: 2;
}

.grid-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .grid-card {
        height: 400px;
    }
    .grid-title {
        font-size: 2.5rem;
    }
    .grid-card-overlay {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .grid-card {
        height: 300px;
    }
    .grid-title {
        font-size: 2rem;
    }
}



/* FIXES */
/* ==========================================================================
   MISSION SECTION - HYPER-COMPACT RIGHT SIDE FIX
   ========================================================================== */

/* Align heights on desktop so the layout stays structurally anchored */
@media (min-width: 992px) {
    .mission-section .row.align-items-center {
        display: flex !important;
        align-items: stretch !important;
    }

    .mission-section .col-lg-6:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Targets the right column specifically to scale it down */
    .mission-section .col-lg-6:last-child {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 1. Shrink the overall size of the accordion container */
.mission-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;                     /* Minimal gap between cards */
    width: 100%;
    max-width: 440px;              /* Noticeably narrower width boundary */
    margin: 0 auto;
}

/* 2. Reset old flex rules entirely */
.mission-accordion .mission-item {
    flex: unset !important;
    max-width: 100% !important;
    width: 100%;
}

/* 3. Highly compressed padding for the glass cards */
.mission-card-glass {
    width: 100% !important;
    padding: 16px 20px !important; /* Low profile vertical and horizontal padding */
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 14px !important; /* Slightly sharper radius to match smaller scale */
}

/* 4. Downscale typography inside the cards */
.mission-card-glass h3 {
    font-size: 1rem !important;    /* Keeps headers crisp but small */
}

.mission-card-glass .card-details p {
    font-size: 0.82rem !important; /* Small, readable utility text */
    line-height: 1.4 !important;
}

/* 5. Ultra-restricted expansion zone */
.mission-radio:checked + .mission-card-glass .card-details {
    max-height: 90px;             /* Hard ceiling for the expanded content */
    opacity: 1;
    margin-top: 8px;
}

/* 6. Clean mobile fallback scaling */
@media (max-width: 991px) {
    .mission-accordion {
        height: auto;
        gap: 12px;
        max-width: 100%;
    }
}