/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0b2d57;
    --primary-light: #1a4a7a;
    --primary-dark: #08203f;
    --accent-color: #e8f4fd;
    --accent-light: #f0f8ff;
    --text-color: #0b2d57;
    --text-light: #4a6b8a;
    --background-white: #FFFFFF;
    --background-light: #f8fafc;
    --shadow: 0 4px 20px rgba(11, 45, 87, 0.15);
    --shadow-light: 0 2px 10px rgba(11, 45, 87, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Top Logo Container */
.top-logo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0 8px 0;
    background-color: #FDFDFD;
    z-index: 1001;
    box-shadow: none;
    margin-bottom: 0;
}

.top-logo {
    width: 160px; /* reduced from 240px */

    width: 240px;
    height: 74px;
    object-fit: contain;
    background-color: #FDFDFD;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #FDFDFD;
    box-shadow: none;
    z-index: 1000;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 2rem;
    height: 72px;
}

.nav-left {
    display: flex;
    align-items: center;
    column-gap: 2rem;
    flex: 1;
}

.nav-auth {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}

.auth-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.auth-link:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff;
}

.auth-register {
    border-color: var(--primary-color);
}


.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 96px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Luxury hero overlay with dark blue transparency */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 45, 87, 0.25), rgba(8, 32, 63, 0.3));
}

/* Luxury centered hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* Centered logo styling with transparency effects */
.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-logo {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0px 4px 20px rgba(255, 255, 255, 0.3));
    opacity: 0.95;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    font-family: 'Montserrat', sans-serif;
}

/* Luxury hero tagline styling */
.hero-tagline {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    opacity: 0.98;
    width: 100%;
    max-width: 800px;
}

/* Hero Text Styling */
.hero-subheading {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #0C2145;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
}

.hero-headline {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.6);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    text-align: center;
}

.hero-tagline-text {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Open Sans', sans-serif;
    max-width: 600px;
    text-align: center;
}

/* Static CTA button with dark blue theme */
.cta-button {
    display: inline-block;
    background-color: #0C2145;
    color: white;
    padding: 20px 45px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(12, 33, 69, 0.4);
    background-color: #081830;
}

.cta-button:hover::before {
    left: 100%;
}

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

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--background-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--background-white);
}

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

.service-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(11, 45, 87, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.service-card p {
    color: var(--text-light);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: var(--background-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 45, 87, 0.9), rgba(8, 32, 63, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.portfolio-link {
    color: white;
    text-decoration: none;
    padding: 10px 0px;
    border: 2px solid white;
    border-radius: 5px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.portfolio-link:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.feature-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--text-color);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
}

.contact-item h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-color);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-auth {
        display: none;
    }


    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: #FDFDFD;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: none;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Responsive top logo - scales down for tablet */
    .top-logo {
    width: 160px; /* reduced from 240px */

        width: 180px;
    }
    
    .navbar {
        top: 65px;
    }
    
    .nav-container {
        height: 40px;
        padding: 8px 20px;
    }
    
    .hero {
        margin-top: 120px;
    }

    /* Responsive centered logo */
    .centered-logo {
        height: 100px;
        max-width: 250px;
    }

    /* Responsive hero tagline */
    .hero-tagline {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 2rem;
    }

    /* Responsive CTA button */
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Mobile top logo - optimized for small screens */
    .top-logo {
    width: 160px; /* reduced from 240px */

        width: 150px;
    }
    
    .navbar {
        top: 60px;
    }
    
    .nav-container {
        height: 38px;
        padding: 6px 15px;
    }
    
    .hero {
        margin-top: 113px;
    }

    /* Mobile centered logo */
    .centered-logo {
        height: 80px;
        max-width: 200px;
    }

    /* Mobile hero text */
    .hero-subheading {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.8rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .hero-tagline-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    /* Mobile CTA button */
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .testimonial,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Footer Quick Links inline */
.footer-section ul {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    padding-left: 0;
}
.footer-section ul li {
    display: inline;
}

/* Auth / Login / Register / Success Pages */
.auth-page {
    background: var(--background-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 3rem;
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f4fd 100%);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(8, 32, 63, 0.15);
    padding: 2.5rem 2rem 2.25rem;
}

.auth-card h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    row-gap: 0.35rem;
}

.auth-field label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.auth-field input,
.auth-field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    border: 1px solid #ccd6e5;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #f9fbff;
}

.auth-field input:focus,
.auth-field textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(11, 45, 87, 0.08);
    background-color: #ffffff;
}

.auth-field textarea {
    resize: vertical;
    min-height: 120px;
}

.auth-footer-text {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
}

.auth-footer-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}
