@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif; /* Clean, modern body text */
    line-height: 1.6;
    background-color: #f7fafc;
    color: #4a5568;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* Luxurious, wealthy headings */
    font-weight: 600;
    color: #1a365d; 
}

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- LOGO IMAGE --- */
.logo {
    display: flex;
    align-items: center; 
    text-decoration: none; 
}

.logo img {
    height: 125px; /* Locks the height at exactly 50px */
    width: 275px; /* Forces the width to be long */
    display: block;
    mix-blend-mode: multiply; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e53e3e; /* Red accent on hover */
}

/* --- BUTTONS --- */
.btn-quote, .btn-primary {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    background-color: #e53e3e; /* Theme Red */
    color: white;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-quote:hover, .btn-primary:hover {
    background-color: #c53030; /* Darker Red on hover */
}

/* --- HERO SECTION --- */
.hero {
    /* To add a background image later, you would add the url here */
    background-size: #f7fafc;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    color: #1a365d; /* Dark Blue */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: #4a5568; /* Gray */
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
}
/* --- GLOBAL SECTION STYLES --- */
section {
    padding: 80px 50px;
}

.section-subtitle {
    color: #e53e3e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: #ffffff;
    margin-top: -50px; /* Pulls it up slightly over the hero section */
    position: relative;
    z-index: 10;
}

.service-box {
    background-color: #1a365d;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    background-color: #e53e3e;
}

/* --- PROJECTS SECTION --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.project-item {
    background-color: #f7fafc;
    padding: 30px;
    border-left: 4px solid #e53e3e;
}

.project-item h3 {
    color: #1a365d;
    margin-bottom: 5px;
}

.project-item p {
    color: #718096;
    font-size: 14px;
}

/* --- STATS SECTION --- */
.stats-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a365d;
    color: white;
}

.stats-text {
    flex: 1;
    padding-right: 50px;
}

.stats-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.stats-text p {
    color: #cbd5e0;
    line-height: 1.6;
}

.stats-numbers {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box h2 {
    font-size: 48px;
    color: #e53e3e;
}

.stat-box p {
    font-size: 18px;
    font-weight: bold;
}

/* --- FEATURES SECTION --- */
.features-section {
    background-color: #f7fafc;
}

.features-content h2 {
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    font-size: 18px;
    margin-bottom: 15px;
    color: #4a5568;
}

.feature-list strong {
    color: #e53e3e;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #1a365d;
    color: #a0aec0;
    padding: 60px 50px 20px 50px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-col h2, .footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-col a {
    color: #e53e3e;
    text-decoration: none;
}

.social-links a {
    color: #a0aec0;
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    flex-direction: column; /* This forces the items to stack on top of each other */
    align-items: center;    /* This centers everything nicely */
    gap: 20px;              /* This adds a little breathing room between the links and the copyright */
    padding-top: 20px;
}

.footer-nav {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #a0aec0;
    text-decoration: none;
}

/* --- ABOUT US: INTRO SECTION --- */
.about-intro-section {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: #ffffff;
}

.about-text-content {
    flex: 1;
}

.about-text-content h2 {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 20px;
}

.about-text-content p {
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-features-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-box {
    background-color: #f7fafc;
    padding: 25px;
    border-left: 4px solid #e53e3e;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.about-feature-box h3 {
    color: #1a365d;
    margin-bottom: 10px;
}

.about-feature-box p {
    color: #718096;
    font-size: 14px;
}

/* --- ABOUT US: PORTFOLIO SECTION --- */
.portfolio-section {
    display: flex;
    gap: 50px;
    background-color: #1a365d;
    color: white;
}

.portfolio-info {
    flex: 1;
}

.portfolio-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.portfolio-info p {
    color: #cbd5e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.portfolio-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    background-color: rgba(255,255,255,0.1); /* Slightly transparent white for a cool effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    min-height: 200px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.portfolio-item:hover {
    background-color: #e53e3e; /* Turns red when you hover over it */
}

/* --- ABOUT US: BRANDS SECTION --- */
.brands-section {
    text-align: center;
    background-color: #edf2f7;
}

.brands-section h2 {
    color: #1a365d;
    margin-bottom: 30px;
}

.brands-placeholder {
    height: 100px;
    border: 2px dashed #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- APPOINTMENTS: CALENDLY SECTION --- */
.calendly-section {
    background-color: #edf2f7;
    padding: 80px 20px;
    text-align: center;
}

.calendly-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 50px 20px 20px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.calendly-container h2 {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 15px;
}

.calendly-container p {
    color: #4a5568;
    margin-bottom: 40px;
    font-size: 18px;
}

/* --- FOOTER MAIN ROW (Side-by-Side Layout) --- */
.footer-main-row {
    display: flex;
    justify-content: space-between; /* Pushes left col to the left, right col to the right */
    align-items: flex-start;        /* Aligns everything to the top */
    gap: 50px;
    border-bottom: 1px solid #2d3748; /* The clean line above the nav links */
    padding-bottom: 40px;
    margin-bottom: 40px;
}

/* --- LEFT COLUMN --- */
.footer-left-col {
    flex: 1;
    max-width: 500px;
    text-align: left;
}

.footer-left-col h2 {
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input[type="email"] {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

.privacy-checkbox {
    color: #cbd5e0;
    font-size: 14px;
    margin-bottom: 30px; /* Space between checkbox and the next heading */
    display: flex;
    align-items: center;
    gap: 8px;
}

.professional-support-text {
    color: #e53e3e !important; /* Theme Red */
    margin-top: 20px;
}

/* --- RIGHT COLUMN --- */
.footer-right-col {
    flex: 1;
    display: flex;
    gap: 50px;
    justify-content: flex-end; /* Pushes the address and email to the far right */
    text-align: left;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-col p {
    color: #cbd5e0;
    margin-bottom: 10px;
    line-height: 1.6;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e53e3e; /* Turns red on hover */
}

/* --- PRICING SECTION --- */
.pricing-section {
    padding: 80px 20px;
    background-color: #f7fafc;
    text-align: center;
}

.pricing-header {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.pricing-header h2 {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 15px;
}

.pricing-header p {
    color: #4a5568;
    font-size: 18px;
}

/* --- PRICING GRID & CARDS --- */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center; /* Ensures the middle card can be taller */
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    padding: 40px 30px;
    width: 33%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.pricing-card:hover {
    transform: translateY(-10px); /* Makes the card "jump" slightly when hovered */
}

.pricing-card h3 {
    color: #1a365d;
    font-size: 22px;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 48px;
    color: #2d3748;
    margin-bottom: 5px;
}

.pricing-card .price span {
    font-size: 18px;
    color: #718096;
}

.billing-cycle {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 30px;
}

/* --- PRICING LIST FEATURES --- */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    color: #4a5568;
    border-bottom: 1px solid #edf2f7;
    position: relative;
    padding-left: 25px;
}

.plan-features li::before {
    content: "✓";
    color: #38a169; /* Green checkmark */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.plan-features li.disabled {
    color: #cbd5e0;
    text-decoration: line-through;
}

.plan-features li.disabled::before {
    content: "✕";
    color: #e53e3e; /* Red X for disabled features */
}

/* --- FEATURED PRICING CARD (Middle) --- */
.pricing-card.featured {
    background-color: #e53e3e; /* Theme Red */
    color: white;
    transform: scale(1.05); /* Makes it slightly bigger */
    position: relative;
    border: none;
    box-shadow: 0 15px 35px rgba(229, 62, 62, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.featured h3, 
.pricing-card.featured .price,
.pricing-card.featured .billing-cycle,
.pricing-card.featured .plan-features li {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.pricing-card.featured .plan-features li::before {
    color: white; /* White checkmark instead of green */
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a365d; /* Dark blue badge */
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 80px 20px;
    background-color: #f7fafc;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* --- CONTACT INFO (LEFT SIDE) --- */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 20px;
}

.contact-info > p {
    color: #4a5568;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
}

.info-block {
    margin-bottom: 25px;
}

.info-block h4 {
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 5px;
}

.info-block p, .info-block a {
    color: #4a5568;
    text-decoration: none;
    font-size: 16px;
}

.info-block a:hover {
    color: #e53e3e; /* Theme Red */
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* --- CONTACT FORM (RIGHT SIDE) --- */
.contact-form-wrapper {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-form-wrapper h3 {
    color: #1a365d;
    font-size: 26px;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    color: #2d3748;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    color: #2d3748;
    background-color: #f7fafc;
    transition: border-color 0.3s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: #1a365d; /* Dark blue focus ring */
    background-color: white;
}

/* --- TESTIMONIALS CAROUSEL --- */
.testimonials-section {
    padding: 80px 20px;
    background-color: #1a365d; /* Dark Blue background */
    text-align: center;
}

.testimonials-section h2 {
    color: white;
    margin-bottom: 40px;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Hides the extra slides! */
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out; /* This creates the smooth sliding animation */
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.quote {
    font-size: 26px;
    font-style: italic;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif; /* Keeps the high-scale feel */
    color: #cbd5e0;
    line-height: 1.5;
}

.client-name {
    font-size: 16px;
    color: #e53e3e; /* Theme Red */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Arrow Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #cbd5e0;
    border: none;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.carousel-btn:hover {
    color: #e53e3e;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* --- CONTACT FORM DROPDOWN --- */
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    color: #2d3748;
    background-color: #f7fafc;
    transition: border-color 0.3s ease;
    cursor: pointer;
    appearance: none; /* Removes default browser styling */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232d3748%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.input-group select:focus {
    outline: none;
    border-color: #1a365d; /* Dark blue focus ring */
    background-color: white;
}

/* --- VERTICAL QUOTE TICKER --- */
.quote-ticker-container {
    height: 150px;
    overflow: hidden;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.quote-ticker-track {
    /* This animation creates the smooth up-and-down yo-yo effect */
    animation: scrollVertical 16s ease-in-out infinite;
}

.quote-slide {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

@keyframes scrollVertical {
    0%, 15%   { transform: translateY(0); }          /* Show Quote 1 */
    25%, 40%  { transform: translateY(-150px); }     /* Slide up to Quote 2 */
    50%, 65%  { transform: translateY(-300px); }     /* Slide up to Quote 3 */
    75%, 90%  { transform: translateY(-150px); }     /* Slide down to Quote 2 */
    100%      { transform: translateY(0); }          /* Slide down to Quote 1 */
}

/* =========================================
   MOBILE RESPONSIVENESS FIXES (PHONES & TABLETS)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Fix the Navigation Bar */
    .navbar {
        flex-direction: column !important;
        padding: 20px !important;
        text-align: center;
    }
    .nav-links {
        flex-direction: column !important;
        gap: 15px;
        margin: 20px 0;
        padding: 0;
    }
    
    /* 2. Shrink massive headers and padding so they fit the screen */
    .page-banner, 
    section,
    .services-section,
    .contact-section,
    .portfolio-section,
    .about-intro-section {
        padding: 40px 20px !important; 
    }
    .page-banner h1 {
        font-size: 36px !important;
    }

    /* 3. Stack ALL grids (Services, Values, About, etc.) into 1 single column */
    .portfolio-grid,
    .about-features-grid,
    .testimonials-grid,
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 20px !important;
    }

    /* 4. Fix Contact Page and Footer Layouts (Stack side-by-side elements) */
    .contact-container,
    .footer-main-row {
        flex-direction: column !important;
        display: flex !important;
        gap: 40px;
    }
    
    /* 5. Make the Contact Form fit the screen nicely */
    .contact-form-wrapper {
        width: 100%;
        box-sizing: border-box;
        padding: 20px !important;
    }
}

/* Header Layout */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #1a365d; /* Your dark blue brand color */
    color: white;
    position: relative;
}

.current-page-title {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

/* Three-Bar Button */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #c6a87c; /* Your gold brand color */
    transition: 0.3s;
}

/* Dropdown Menu (Hidden by default) */
.main-nav {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a365d;
    z-index: 1000;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Show menu when active class is added */
.main-nav.active {
    display: block;
}