* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    background: #fff;
    text-align: center;
    overflow-x: hidden;
}


.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 30px;
}

.logo img {
    width: 160px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li {
    list-style: none;
    position: relative;
    font-size: 18px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 8px 12px;
    position: relative;
}

/* Underline Animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #3f3f3f;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-links a:hover::after,
.nav-links .active::after {
    transform: scaleX(1);
}

/* Employee Login Button */
.login-btn {
    background-color: #e0e1e2;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    position: relative;
}

.login-btn::after {
    display: none;
}

.login-btn:hover {
    background-color: #c9c8c8;
}


/* Gallery Container*/
.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px 20px;
    background: url('images/background.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    min-height: 700px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 90%;
    margin: auto;
    position: relative;
    z-index: 2;
    
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 120%);
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 120%);
}


.image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.large-image {
    grid-column: span 2;
    grid-row: span 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 20px;
    margin-top: 25px;
}

.welcome-section h1 {
    font-size: 40px;
    font-weight: bold;
    color: #404040;
    margin-bottom: 10px;
}

.welcome-section p {
    font-size: 25px;
    color: #5f6368;
    margin-top: 5px;
    font-weight: 500;
}

.card-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 70px 5%;
    flex-wrap: wrap;
}

.card {
    width: 100%;
    text-align: center;
    max-width: 350px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
    margin-top: -30px;
    display: flex;
    flex-direction: column; /* Ensures content stays inside */
    align-items: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.card .image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card:hover .hover-image {
    opacity: 1;
    transform: scale(1);
}

.card:hover img:first-child {
    opacity: 0;
    transform: scale(1.1);
}

.card h3 {
    margin: 20px 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    width: 100%;
    text-align: center;
}

.card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
}

.card a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid #aaa;
    transition: all 0.3s ease;
}


.card a:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.grid-container {
    display: grid;
    grid-template-columns: 50% 25% 25%;
    grid-template-rows: auto;
    gap: 5px;
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.grid-item.large {
    grid-row: span 2;
}

.grid-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0) 80%);
    transition: height 0.5s ease-in-out;
}

.grid-item:hover::after {
    height: 100%;
}

.grid-item .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    color: white;
    transition: opacity 0.3s ease-in-out;
}

.overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 2;
}

.overlay .default-text {
    font-size: 20px;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -80px;
}

.overlay .hover-text {
    opacity: 0;
    font-size: 24px;
    font-weight: bold;
    color: #fff !important;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.grid-item:hover .default-text {
    opacity: 0;
}

.grid-item:hover .hover-text {
    opacity: 1;
}

.grid-item:hover img {
    transform: scale(1.05);
}


.focus-section {
    background: url('images/image.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    padding: 80px 9%;
    text-align: left;
    color: rgb(49, 48, 48);
    min-height: 500px;
    display: flex;
    align-items: center;
    
}

.focus-container {
    max-width: 1200px;
    margin-left: 0;
    padding-left: 0;
}


.focus-title {
    font-size: 40px;
    color: #102945;
    font-weight: bold;
    margin-bottom: 10px;
}

.focus-subtitle {
    font-size: 35px;
    color: #204977;
    font-weight: bold;
    margin-bottom: 30px;
}

.focus-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: 0;
    padding-left: 0;
}


/* 🌟 Card Styling */
.focus-box {
    background: rgba(21, 84, 109, 0.4);
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    min-height: 250px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.focus-box:nth-child(2) { background: rgba(131, 199, 226, 0.4); }

.focus-box h3 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 15px;
}

.focus-box p {
    font-size: 16px;
    margin-bottom: 15px;
}

.services {
    padding: 50px 20px;
}

.services h2 {
    font-size: 2.3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}


.image_grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 1400px;
    height: 500px;
    margin: auto;
}

/* Individual Grid Items */
.image_grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

/* Image Styling */
.image_grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Assigning Grid Positions */
.item1 { grid-column: span 2; grid-row: span 2; }
.item2 { grid-column: span 2; }
.item3 { grid-column: span 1; grid-row: span 1; }
.item4 { grid-column: span 1; grid-row: span 2; }
.item5 { grid-column: span 1; grid-row: span 1; }
.item6 { grid-column: span 1; grid-row: span 1; }
.item7 { grid-column: span 1; grid-row: span 1; }

/* Section Title */
.cmaan-life {
    padding: 60px 20px;
}

.section-title {
    color: rgb(74, 73, 73);
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}

.section-title span {
    color: #336aaa;
    font-weight: bold;
}


/* Card Container */
.info-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-box {
    width: 350px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}


.info-img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: left; /* Default Position */
    transition: background-position 0.6s ease;
}

.restart { background-image: url('images/restart.jpg'); }
.learning { background-image: url('images/learning.jpg'); }
.culture { background-image: url('images/culture.jpg'); }

.info-box:hover .info-img {
    background-position: right;
}


.info-text {
    padding: 15px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
}

.green-bg { background-color: #7fcba0; }
.orange-bg { background-color: #be9d63; }
.blue-bg { background-color: #6494b7; }




footer {
    background: linear-gradient(135deg, #3c3c3c, #505151);
    color: white;
    padding: 50px 0;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
    position: relative;
    top: -50px;
}

.footer-about p {
    font-size: 17px;
    color: #ddd;
    line-height: 1.6;
    max-width: 300px;
    margin-top: -100px;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-about h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3 {
    color: #ffffff;
    font-size: 25px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

.footer-links ul li a:hover {
    color: #6ad0ff;
    transform: translateX(5px);
}

.footer-contact form {
    display: flex;
    gap: 10px;
}

.footer-contact input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #222;
    color: white;
}

.footer-contact button {
    background: #b6d5e4;
    color: rgb(56, 55, 55);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 14px;
}


/* ===================== MEDIA QUERIES ===================== */

/* Mobile (Android/iOS) */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
        align-items: flex-start;
    }

    .logo {
        align-self: flex-start;
        margin-right: 10px;
    }

    .logo img {
        width: 120px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 20px;
        justify-content: center;
    }

    .nav-links li {
        flex: none; /* prevents extra spacing */
        text-align: left;
        font-size: 16px;
        white-space: nowrap; /* Keeps "Our Products" in one line */
    }

    .nav-links a {
        display: inline-block;  /* Prevents full-width hover effect */
        padding: 6px;
        position: relative;
    }

    /* Underline effect only for text */
    .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 100%;
        height: 2px;
        background-color: #3f3f3f;
        transform: scaleX(0);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links a:hover::after,
    .nav-links .active::after {
        transform: scaleX(1);
    }

    /* Login button below navigation */
    .login {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
    
    .login-btn {
        display: inline-block;
        width: auto;
        padding: 8px 12px;  /* Reduced width */
        font-size: 14px;
        background-color: #ccc;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
        gap: 5px; /* Minimize gap */
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .image {
        width: 100%; /* Make images fill available space */
        height: auto;
        border-radius: 10px;
        object-fit: cover; /* Prevent aspect ratio distortion */
    }

    .large-image {
        grid-column: span 2; /* Span full width for better fit */
        grid-row: span 2;
    }

    .welcome-section {
        padding: 20px 15px; /* Reduced padding for smaller screens */
    }

    .welcome-section h1 {
        font-size: 26px; /* Smaller title for better fit */
        margin-bottom: 5px;
    }

    .welcome-section p {
        font-size: 18px; /* Readable but compact */
    }

    .card-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 50px 3%;
    }

    .card {
        max-width: 90%;
        margin-top: 0;
    }

    .card .image-container {
        height: 180px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card p {
        font-size: 14px;
    }

    /* 🔥 Fix Hover Issue on Mobile (Force Image Swap on Click) */
    .card .image-container {
        cursor: pointer;
    }

    .card .image-container:active .hover-image {
        opacity: 1;
        transform: scale(1);
    }

    .card .image-container:active img:first-child {
        opacity: 0;
        transform: scale(1.1);
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr; /* Single column */
        grid-template-rows: auto;
        gap: 8px;
        width: 100%;
        padding: 10px;
    }

    .grid-item.large {
        grid-row: auto; /* No spanning on mobile */
    }

    .grid-item img {
        width: 100%;
        height: 250px; /* Fixed height for consistency */
        object-fit: cover;
    }

    .overlay .default-text {
        font-size: 18px;
    }

    .overlay .hover-text {
        font-size: 20px;
    }

    .focus-section {
        padding: 50px 5%;
        background-size: 100% auto;
    }

    .focus-title { font-size: 32px; }
    .focus-subtitle { font-size: 28px; }

    .focus-content {
        flex-direction: column;
        align-items: center;
    }

    .focus-box {
        width: 90%;
        min-height: auto;
        padding: 20px;
    }

    .image_grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        grid-template-rows: auto;
        gap: 5px;
        height: auto;
    }

    .image_grid-item {
        grid-column: span 1;
        grid-row: span 1;
    }

    .item1, .item2 {
        grid-column: span 2; /* Make first two images wider */
    }

    .services {
        padding: 30px 10px;
    }

    .cmaan-life {
        padding: 40px 10px;
    }

    .section-title {
        font-size: 32px;
        text-align: center;
    }

    .info-cards {
        flex-direction: column; /* Stack cards vertically */
        align-items: center;
        gap: 20px;
    }

    .info-box {
        width: 90%; /* Take full width */
    }

    .info-img {
        height: 200px; /* Reduce height for better fit */
    }

    .info-text {
        font-size: 16px;
        text-align: center;
    }
    

    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }

    .footer-about, .footer-links, .footer-contact {
        display: flex;
        flex-direction: column;
        min-width: 100%;
        text-align: left;
        align-items: flex-start;  /* Align content to the left */

    }

    .footer-logo {
        width: 120px;
        margin-bottom: 0px;  /* 🔹 Remove extra gap */
        text-align: left;
    }

    .footer-about p {
        font-size: 16px;
        margin-top: -30px;   /* 🔹 Reduce top margin to bring text closer */
        text-align: left;
    }

    .footer-links ul {
        padding-left: 0;
        text-align: left;
    }

    .footer-contact form {
        flex-direction: column;
        gap: 8px;
    }

    .footer-contact input {
        width: 100%;
    }

    .footer-contact button {
        width: 100%;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        font-size: 12px;
    }
}


/* 📱 Mobile Landscape View */
@media (max-width: 900px) and (orientation: landscape) {
    .gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for landscape */
        gap: 5px;
    }

    .image {
        border-radius: 8px;
    }
}

/* 📱 Mobile Portrait View (Android/iOS) */
@media (max-width: 768px) and (orientation: portrait) {
    .focus-section {
        background-size: cover !important;
        background-position: center center !important;
    }
}


/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .header {
        display: flex;
        justify-content: space-between;  /* Ensures items are spread out */
        align-items: center;
        padding: 10px 30px;
        height: auto;
    }

    .logo {
        flex: 1; /* Allows the logo to take available space on the left */
    }

    .logo img {
        width: 140px;
    }

    .nav-links {
        display: flex;
        flex: 2; /* Gives nav links more space */
        justify-content: center;
        gap: 20px;
        flex-wrap: nowrap; /* Prevents links from breaking into new rows */
    }

    .nav-links li {
        font-size: 17px;
        white-space: nowrap; /* Ensures text does not wrap */
    }

    .login-btn {
        flex: 1; /* Pushes the login button to the right */
        text-align: right;
        font-size: 17px;
        padding: 8px 15px;
        background-color: #ccc;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Flexible column sizing */
        grid-auto-rows: 200px; /* Fixed row height to eliminate uneven gaps */
        gap: 8px; /* Smaller gap between items */
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
    }
    
    .image {
        width: 100%;
        height: 100%; /* Ensures all cells match grid row height */
        object-fit: cover;
        border-radius: 12px;
    }
    
    .large-image {
        grid-column: span 2; /* If you want bigger images */
        grid-row: span 2;
    }

    .welcome-section {
        padding: 30px 20px;
    }

    .welcome-section h1 {
        font-size: 32px; /* Slightly bigger than mobile */
    }

    .welcome-section p {
        font-size: 22px;
    }

    .card-section {
        gap: 30px;
        padding: 60px 5%;
    }

    .card {
        max-width: 45%;
    }

    .card .image-container {
        height: 190px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        gap: 10px;
        width: 90%;
    }

    .grid-item.large {
        grid-column: span 2; /* Larger image spans 2 columns */
        grid-row: span 1;
    }

    .grid-item img {
        height: 300px;
    }

    .overlay .default-text {
        font-size: 20px;
    }

    .overlay .hover-text {
        font-size: 22px;
    }

    .focus-section { padding: 60px 8%; }
    .focus-title { font-size: 35px; }
    .focus-subtitle { font-size: 30px; }

    .focus-content {
        justify-content: center;
        gap: 15px;
    }

    .focus-box {
        width: 45%;
        min-height: 230px;
    }

    .image_grid-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
        grid-template-rows: auto;
        gap: 8px;
        height: 450px;
    }

    .image_grid-item {
        grid-column: span 1;
        grid-row: span 1;
    }

    .item1 {
        grid-column: span 2; /* Make the first item bigger */
        grid-row: span 2;
    }

    .cmaan-life {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 36px;
        text-align: center;
    }

    .info-cards {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .info-box {
        width: 300px;
    }

    .info-img {
        height: 230px;
    }

    .footer-container {
        margin-top: auto;
        flex-wrap: wrap;
        text-align: center;
    }

    .footer-logo {
        width: 120px;
        margin-bottom: 0px; /* Remove extra bottom space */
        display: block;
    }

    .footer-about p {
        font-size: 16px;
        margin-top: -65px; /* Reduce space between logo and paragraph */
    }

    .footer-about, .footer-links, .footer-contact {
        flex: 1;
        min-width: 45%;
        text-align: left;
    }

    .footer-contact form {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    } 
}

/* 📲 Tablet Portrait View */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .focus-section {
        background-size: cover !important;
        background-position: center center !important;
    }
}


/* Laptops */
@media (min-width: 1025px) and (max-width: 1366px) {
    .header {
        padding: 15px 50px;
    }

    .nav-links {
        gap: 25px;
    }

    .nav-links li {
        font-size: 18px;
    }

    .gallery {
        grid-template-columns: repeat(5, 1fr); /* 5 columns for larger screens */
        gap: 15px;
        justify-content: center;
    }

    .image {
        width: 180px;
        height: 180px;
        border-radius: 16px;
    }

    .large-image {
        grid-column: span 2;
        grid-row: span 2;
    }

    .welcome-section {
        padding: 40px 25px;
    }

    .welcome-section h1 {
        font-size: 36px;
    }

    .welcome-section p {
        font-size: 24px;
    }

    .card-section {
        justify-content: center;
        padding: 70px 5%;
    }

    .card {
        max-width: 350px;
    }

    .card .image-container {
        height: 200px;
    }

    .grid-container {
        grid-template-columns: 50% 25% 25%;
        max-width: 1000px;
        gap: 10px;
    }

    .grid-item.large {
        grid-row: span 2;
    }

    .grid-item img {
        height: 350px;
    }

    .overlay .default-text {
        font-size: 22px;
    }

    .overlay .hover-text {
        font-size: 24px;
    }

    .focus-section { padding: 80px 10%; }
    .focus-title { font-size: 40px; }
    .focus-subtitle { font-size: 35px; }

    .focus-content {
        justify-content: flex-start;
    }

    .focus-box {
        width: 300px;
    }

    .image_grid-container {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 500px;
    }

    .cmaan-life {
        padding: 60px 20px;
    }

    .info-cards {
        gap: 30px;
    }

    .info-box {
        width: 330px;
    }

    .info-img {
        height: 250px;
    }

    .footer-container {
        display: flex;
        justify-content: space-between;
        max-width: 1200px;
        margin: auto;
        text-align: left;
    }


    .footer-about, .footer-links, .footer-contact {
        flex: 1;
        min-width: 300px;
    }
}


/* Large desktops */
@media (min-width: 1367px) {
    .header {
        padding: 15px 80px;
    }

    .nav-links {
        gap: 30px;
    }

    .nav-links li {
        font-size: 20px;
    }

    .welcome-section {
        padding: 50px 30px;
    }

    .welcome-section h1 {
        font-size: 40px;
    }

    .welcome-section p {
        font-size: 25px;
    }

    .image_grid-container {
        max-width: 1400px;
        height: 600px;
    }

    .info-cards {
        max-width: 1400px;
        margin: auto;
        gap: 40px;
    }

    .info-box {
        width: 350px;
    }

    .info-img {
        height: 280px;
    }

    .footer-container {
        max-width: 1400px;
    }

    .footer-about p {
        font-size: 18px;
        text-align: center;
        margin-left: 30px;
    }

    .footer-links h3, .footer-contact h3 {
        font-size: 22px;
    }

    .footer-links ul li a {
        font-size: 18px;
    }
}
