/* ===================================
   GLOBAL STYLES & RESET
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===================================
   HEADER STYLES
   =================================== */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.5s ease-out;
    position: relative;
    z-index: 50;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.header-content h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-content p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.certification {
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    margin-top: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===================================
   MOBILE MENU TOGGLE BUTTON
   =================================== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1001;
    background: #1a2f5a;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    background: #1a2f5a;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.navbar.scrolled {
    background: #0f1d3a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-overlay {
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}

.nav-menu li {
    margin: 0 1.5rem;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    padding: 0.5rem 0;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    color: #ffd700;
    transform: translateY(-2px);
}

.nav-menu li a.active {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%234a90e2" width="1200" height="600"/><path fill="%23fff" opacity="0.1" d="M0 300L50 280L100 320L150 290L200 310L250 285L300 305L350 295L400 315L450 300L500 290L550 310L600 295L650 305L700 290L750 310L800 295L850 305L900 290L950 310L1000 295L1050 305L1100 290L1150 310L1200 295V600H0Z"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
    padding: clamp(3rem, 10vw, 6rem) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,215,0,0.1), transparent);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-out 0.2s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: #ffd700;
    color: #1a2f5a;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: clamp(1rem, 3vw, 1.1rem);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    padding: clamp(3rem, 8vw, 4rem) 20px;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: #1e3c72;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: clamp(2.5rem, 8vw, 3rem);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.feature-card p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: clamp(3rem, 8vw, 4rem) 20px;
    background: white;
}

.gallery h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    color: #1e3c72;
}

.gallery-controls {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    min-height: 44px;
    min-width: 120px;
    touch-action: manipulation;
}

.gallery-btn:hover:not(:disabled),
.gallery-btn:focus:not(:disabled) {
    background: #2a5298;
    transform: scale(1.05);
}

.gallery-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.gallery-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
    padding: clamp(3rem, 8vw, 4rem) 20px;
    background: #f8f9fa;
}

.reviews h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: #1e3c72;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.stars {
    color: #ffd700;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.reviewer-name {
    font-weight: bold;
    color: #1e3c72;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: clamp(3rem, 8vw, 4rem) 20px;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: #1e3c72;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #1e3c72;
    transition: transform 0.3s;
}

.contact-info:hover {
    transform: translateX(5px);
}

.contact-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.contact-info p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
}

.phone-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #1e3c72;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    min-height: 48px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.phone-btn:hover,
.phone-btn:focus {
    background: #2a5298;
    transform: translateX(5px);
}

.phone-btn:active {
    transform: translateX(3px);
}

.phone-icon {
    font-size: 1.5rem;
}

.contact-link {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.pricing-info {
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.pricing-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
}

.pricing-info p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: 1.5rem;
}

.cta-container {
    margin-top: 1.5rem;
}

.map-section {
    margin-top: 3rem;
}

.map-section h3 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    height: 400px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e3c72;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus {
    background: #2a5298;
    transform: translateY(-5px);
}

.scroll-top-btn:active {
    transform: translateY(-2px);
}

.scroll-top-btn.show {
    display: block;
    animation: fadeInUp 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: #1a2f5a;
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    margin: 0.5rem 0;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.developer-info {
    margin-top: 2rem;
    padding-top: 2rem;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 1.5rem auto;
    max-width: 600px;
}

.developer-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 1rem;
}

.developer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.developer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.dev-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.dev-link:hover,
.dev-link:focus {
    color: #fff;
    text-decoration: underline;
}

/* ===================================
   MOBILE RESPONSIVE STYLES
   =================================== */

/* Tablets and below */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1a2f5a;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }

    .navbar.active {
        right: 0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 99;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        padding: 80px 20px 20px;
        height: 100%;
        overflow-y: auto;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .developer-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .map-container {
        height: 300px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero {
        padding: 3rem 15px;
    }

    .features,
    .gallery,
    .reviews,
    .contact {
        padding: 2.5rem 15px;
    }

    .feature-card,
    .contact-info,
    .review-card {
        padding: 1.5rem;
    }

    .gallery-btn {
        padding: 0.7rem 1.2rem;
        min-width: 100px;
        font-size: 0.9rem;
    }

    .gallery-item {
        height: 200px;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
    }

    .phone-btn {
        padding: 0.9rem 1.2rem;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .mobile-menu-toggle {
        width: 45px;
        height: 45px;
    }

    .hamburger-line {
        width: 25px;
    }

    .navbar {
        width: 240px;
    }
}