/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-blue: #2563eb;
    --primary-orange: #ff6b6b;
    --primary-gray: #555;
    --text-dark: #333;
    --text-light: #666;
}

/* Global Button Styles */
.btn, .btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
    border: 2px solid var(--primary-orange);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active, .btn-primary:active, .btn-secondary:active {
    transform: translateY(2px);
}

.btn::after, .btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::after, .btn-primary:hover::after, .btn-secondary:hover::after {
    transform: translateX(0);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 1200px;
    z-index: 2;
    padding: 1rem;
}

.slide-content h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    margin-bottom: clamp(15px, 2vw, 30px);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    line-height: 1.2;
    text-shadow: 2px 2px 0 var(--primary-orange),
                 3px 3px 0 rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: clamp(20px, 3vw, 30px);
    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-buttons .btn-primary {
    background: var(--primary-orange);
    color: white;
    border: 2px solid var(--primary-orange);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: rgb(186, 7, 7);
    color: var(--primary-orange);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.features-section h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-box h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-box p {
    color: var(--primary-gray);
    line-height: 1.6;
}

/* Services Section */
.services-preview {
    padding: 80px 0;
    background: #f9f9f9;
}

.services-preview h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-preview-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-preview-box:hover {
    transform: translateY(-10px);
}

.service-preview-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-preview-box img:hover {
    transform: scale(1.05);
}

.service-preview-box h3 {
    padding: 20px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.service-preview-box p {
    padding: 0 20px 20px;
    color: var(--primary-gray);
    line-height: 1.6;
}

.btn-learn {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 25px;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-learn:hover {
    background: var(--primary-blue);
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-box {
    text-align: center;
    color: white;
}

.stat-box h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-orange);
}

.stat-box p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--primary-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.team-section h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-blue);
    margin: 20px 0 10px;
    font-size: 1.5rem;
}

.team-member .position {
    color: var(--primary-orange);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-member .description {
    color: var(--primary-gray);
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background: linear-gradient(45deg, #1a1a1a, #2c2c2c);
    padding: 80px 0 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(8px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.footer-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-section .contact-group {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-section .contact-group i {
    color: var(--primary-orange);
    margin-right: 15px;
    min-width: 20px;
    transition: transform 0.3s ease;
}

.footer-section .contact-group:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.footer-section .contact-group:hover i {
    transform: scale(1.2);
}

.footer-section .phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.social-links a i {
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Gallery Hero Animation */
.gallery-hero .hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.gallery-hero .hero-content h1 {
    animation: slideInRight 1s ease forwards;
}

.gallery-hero .hero-content p {
    animation: slideInLeft 1s ease 0.3s forwards;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 3.2rem;
    }
    .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .features-container,
    .services-container,
    .team-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    /* Mobile Menu Styles */
    .mobile-menu {
        display: block;
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
        z-index: 100;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .mobile-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        margin: 6px 0;
        transition: all 0.3s ease;
    }
    
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 90px;
        right: -100%;
        width: 250px;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links a {
        padding: 12px 25px;
        width: 100%;
        text-align: right;
    }

    .features-container,
    .services-container,
    .team-container,
    .stats-container {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 200px;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .slide-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .slide-content p {
        font-size: 1rem;
        padding: 0 10px;
        line-height: 1.4;
    }

    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Desktop styles for CTA buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile styles for CTA section */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
    }

    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}