/* Global Styles */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #f5f5f5;
    
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.0);
    color: white;
    z-index: 10;
    transition: background 0.3s ease;
}

header .logo {
    position: relative;
}

header .logo img {
    width: 150px;
    transition: opacity 0.3s ease;
}

header .logo .logo-default {
    opacity: 1;
}

header .logo .logo-scrolled {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* When header is scrolled */
header.scrolled .logo .logo-default {
    opacity: 0;
}

header.scrolled .logo .logo-scrolled {
    opacity: 1;
}

/* Scrolled Navbar */
header.scrolled {
    background: rgba(0, 0, 0, 0.4); /* Darker background when scrolled */
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header.scrolled nav ul li a {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}



header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
    
}

header nav ul li a {
    text-decoration: none;
    color: #fff; /* Changed to white */
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 15px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for better contrast */
}

header nav ul li a:hover {
    transform: translateY(-2px);
}

/* Add background highlight effect */
header nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

header nav ul li a:hover::before {
    opacity: 1;
}

/* Hamburger Menu Styles */
.menu-icon {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 100;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* Animation for hamburger to X */
header.nav-active .menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
    background: #fff;
}

header.nav-active .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

header.nav-active .menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
    background: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('zgrada 2/Render_01.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: -80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .btn {
    background: #007BFF;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #0056b3;
}

/* Section Styling */
section {
    padding: 80px 20px;
    text-align: center;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border: 5px solid #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}


/* Footer */
/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    flex: 1;
    text-align: left;
    max-width: 300px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: translateY(-5px);
}

.footer-logo p {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact, .footer-map {
    flex: 1;
    text-align: left;
    max-width: 300px;
}

.footer-contact h4, .footer-map h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-contact p, .footer-map p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}

.footer-contact i {
    color: #007BFF;
    margin-right: 10px;
}

.footer-map iframe {
    border: 0;
    border-radius: 8px;
    width: 100%;
    height: 150px;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
    opacity: 0.8;
}

/* Why Choose Us Section */
.why-section {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}

.why-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.why-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #007BFF;
    margin: 10px auto 0;
}

.why-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.why-details {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.why-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reasons li, .locations li {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.reasons li i, .locations li i {
    color: #007BFF;
    margin-right: 10px;
    font-size: 1.5rem;
}

.locations li:hover, .reasons li:hover {
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.why-image {
    flex: 1;
    max-width: 45%;
    text-align: center;
}

.why-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Apartments Section */
#apartments {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}

#apartments h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    background: #333;
    border-radius: 10px;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #0056b3;
}

.tab-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.tab-pane {
    display: none;
    width: 100%;
}

.tab-pane.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floor-plan img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rendered-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
/* Locations Section */
.locations-section {
    padding: 50px 20px;
    background-color: #0a0f2c; /* Dark navy background */
    color: #e3e3e3; /* Light text color */
    text-align: center;
}

.locations-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #c4b7a6; /* Goldish color for heading */
    text-transform: uppercase;
    letter-spacing: 2px;
}
/* Projects Section */
.projects-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f8f8;
    color: #333;
}

.projects-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
    text-align: left;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.project-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    background-color: #444;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #222;
}

.locations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.location-item {
    background: #111633; /* Slightly lighter navy */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.location-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #c4b7a6; /* Icon color to match the heading */
}

.location-item p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
    color: #ffffff; /* White text */
}

.location-item span {
    font-size: 1rem;
    color: #b3b3b3;
}

.rendered-images img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rendered-images img:hover {
    transform: scale(1.05);
}
/* Modern Section */
.modern-section {
    background-color: #0a0f2c; /* Dark navy background */
    color: #e3e3e3; /* Light text */
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.text-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.text-content h3 {
    font-size: 1.5rem;
    color: #c4b7a6; /* Goldish color */
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.image-content {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.logo-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0); /* Semi-transparent background */
    padding: 10px;
    border-radius: 8px;
}

.logo-overlay img {
    width: 80px; /* Adjust the size of the logo */
    height: auto;
    opacity: 0.8; /* Slight transparency for luxury effect */
}

/* Building Section */
.projects-section {
    text-align: center;
    padding: 20px;
}

.buildings-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.building-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 300px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.building-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.building-card h3 {
    padding: 15px 0;
    margin: 0;
    background-color: #0078d4;
    color: #fff;
    font-size: 1.2rem;
}

.building-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.building-card.highlight {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 120, 212, 0.3);
    position: relative;
    animation: cardPulse 2s infinite;
}

.building-card.highlight::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid #0078d4;
    border-radius: 12px;
    animation: borderPulse 2s infinite;
    z-index: -1;
}

.building-card.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 120, 212, 0.1), rgba(0, 120, 212, 0.2));
    border-radius: 8px;
    animation: glowPulse 2s infinite;
}

@keyframes cardPulse {
    0% {
        transform: translateY(-12px) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.02);
    }
    100% {
        transform: translateY(-12px) scale(1);
    }
}

@keyframes borderPulse {
    0% {
        border-color: #0078d4;
        opacity: 1;
    }
    50% {
        border-color: #00a2ff;
        opacity: 0.7;
    }
    100% {
        border-color: #0078d4;
        opacity: 1;
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.5;
    }
}
/* Animation for the block */

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

.block {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

/* Building Overview */
#building-overview {
    padding: 30px 10%;
}

.back-button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #0078d4;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #005fa3;
}

#outside-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

#outside-images img {
    width: 45%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#outside-images img:hover {
    transform: scale(1.05);
}

.floor-tabs {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin-bottom: 20px;
}

.floor-tabs li {
    padding: 10px 15px;
    background-color: #0078d4;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.floor-tabs li.active,
.floor-tabs li:hover {
    background-color: #005fa3;
}

.floor-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.apartment-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.apartment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.apartment-details {
    padding: 15px;
}

.apartment-details h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #0078d4;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.25);
}


#floor-plan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#floor-plan-modal.visible {
    opacity: 1;
    visibility: visible;
}

#modal-image {
    max-width: 80%;
    max-height: 80%;
    border: 5px solid #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

#modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}
.view-plan-btn {
    background-color: #007BFF; /* Primary blue color */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.view-plan-btn:hover {
    background-color: #0056b3; /* Darker blue for hover */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.view-plan-btn:active {
    background-color: #003d80; /* Even darker blue for active state */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(0.98); /* Slightly shrink on click */
}


/* Responsive Design */
@media (max-width: 768px) {
    #outside-images img {
        width: 100%;
    }

    .buildings-container {
        flex-direction: column;
    }

    .building-card {
        width: 90%;
        margin: 0 auto;
    }

    .apartment-card {
        width: 90%;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-content {
        margin-top: 20px;
    }
}



/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-contact, .footer-map {
        text-align: center;
        max-width: 100%;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}


/* Responsive Design */
/* Responsive Design */
/* Responsive Design */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        margin-right: 40px;
        margin-left: -15px;
    }

    header nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: all 0.3s ease-in-out;
        z-index: 90;
    }

    header.nav-active nav ul {
        display: flex;
    }

    header nav ul li a {
        color: #fff;
        font-size: 1.4rem;
        padding: 10px 20px;
        transition: all 0.3s ease;
    }

    header nav ul li a:hover {
        color: #007BFF;
        transform: scale(1.1);
    }
}

/* Responsive Design for Why Choose Us Section */
@media (max-width: 768px) {
    .why-content {
        flex-direction: column; /* Stack elements vertically */
    }

    .why-details {
        order: 1; /* Text comes first */
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px; /* Add spacing below the text */
    }

    .why-image {
        order: 2; /* Image comes second */
        max-width: 100%;
        text-align: center;
    }

    .why-details ul {
        text-align: left;
        margin: 0 auto;
    }

    .why-image img {
        width: 100%;
        max-width: 400px; /* Optional: Limit the max width of the image */
        margin: 0 auto;
    }
}


/* Apartments Section Responsiveness */
@media (max-width: 768px) {
    /* Tabs: Adjust button size and layout */
    .tabs {
        flex-direction: column; /* Stack the buttons vertically */
        gap: 10px;
    }

    .tab-btn {
        width: 100%; /* Make buttons span the full width */
        padding: 12px;
        font-size: 1rem;
    }

    /* Tab Content: Adjust floor plan and rendered images layout */
    .tab-pane {
        flex-direction: column; /* Stack content vertically */
        align-items: center;
    }

    .floor-plan img {
        width: 90%; /* Shrink floor plan images on small screens */
        margin-bottom: 15px;
    }

    .rendered-images {
        flex-direction: column; /* Stack rendered images */
        gap: 15px;
    }

    .rendered-images img {
        width: 80%; /* Reduce size of rendered images */
        max-width: 400px;
    }
}

/* Lightbox Responsiveness */
@media (max-width: 768px) {
    .lightbox-img {
        max-width: 90%; /* Ensure lightbox images fit on small screens */
        max-height: 80%;
    }

    .lightbox .close {
        font-size: 1.5rem; /* Adjust close button size */
        top: 15px; /* Reduce padding from top */
        right: 20px;
    }
}

@media (max-width: 480px) {
    /* Additional adjustments for very small screens */
    .tab-btn {
        font-size: 0.9rem;
    }

    .floor-plan img {
        width: 95%;
    }

    .rendered-images img {
        width: 90%; /* Make images smaller on very small screens */
    }

    .lightbox-img {
        max-width: 95%;
        max-height: 75%;
    }

    .lightbox .close {
        font-size: 1.2rem;
        top: 10px;
        right: 15px;
    }
}
/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222222; /* Black background */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    z-index: 9999; /* Ensure it appears on top */
}

.logo-container {
    width: 150px; /* Small size */
    height: auto; /* Maintain aspect ratio */
    animation: logoReveal 1.5s ease-out forwards;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-centered {
    width: 100%; /* Fit inside the container */
    height: auto; /* Maintain aspect ratio */
}

/* Hide Main Content Initially */
.hidden {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-container {
        width: 30vw; /* Slightly larger logo on smaller devices */
        max-width: 100px; /* Cap the size */
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 40vw; /* Larger size for very small screens */
        max-width: 80px; /* Smaller cap for tiny devices */
    }
}

/* Social Media Buttons */
.social-media {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-link {
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-link:hover {
    color: #007BFF;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Update the responsive styling for social media */
@media (max-width: 768px) {
    .social-media {
        justify-content: center;
    }
}

/* About Us Page Styles */
.about-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
}

/* Values Section */
.values-section {
    padding: 80px 20px;
    background-color: #fff;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-container h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-us-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-container h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2.5em;
    color: #007bff;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background-color: #fff;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-container h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.team-member {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5em;
    margin: 20px 0 10px;
    color: #333;
}

.team-member p {
    color: #666;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .values-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature i {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .about-content h2,
    .values-container h2,
    .why-us-container h2,
    .team-container h2 {
        font-size: 2em;
    }
}

