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

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

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #B8860B;
    color: white;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #B8860B;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.logo-box {
    background: #228B22;
    border: 3px solid #228B22;
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-block;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #B8860B;
    line-height: 1.2;
    text-align: center;
    display: block;
}

.logo-text-cormorant {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #222;
    text-transform: uppercase;
    line-height: 1;
    display: block;
}

.logo-text-stacked {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    font-size: 1.7rem;
    text-align: left;
    height: 80px;
}

.nav-menu {
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-link,
.nav-link.home-link,
.nav-link.services-link,
.nav-link.about-link,
.nav-link.contact-link {
    background: none !important;
    color: #222 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s cubic-bezier(.4,2,.3,1);
    position: relative;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #B8860B;
    border-radius: 2px;
    margin: 6px auto 0 auto;
    transition: width 0.3s cubic-bezier(.4,2,.3,1);
}

.nav-link:hover,
.nav-link.active {
    background: none !important;
    color: #B8860B !important;
    transform: none !important;
    box-shadow: none !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link, .nav-link:hover, .nav-link.active {
    text-decoration: none;
    border-bottom: none;
}

.nav-link,
.nav-link:focus,
.nav-link:active,
.nav-link.active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/backgrounds/london-skyline-2.jpg') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(184, 134, 11, 0.5));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-main {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #B8860B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #228B22;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #B8860B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

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

/* Team Section */
.team-section {
    margin-top: 4rem;
}

.team-title {
    font-size: 2rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

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

.team-member {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(44,62,80,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(44,62,80,0.15);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(44,62,80,0.25);
}

.member-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44,62,80,0.15);
    border: 4px solid #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-image img[alt*="Temi"] {
    object-position: 60% 15%;
}

.member-image img[alt*="Olivia"] {
    object-position: center 15%;
}

.member-info {
    text-align: center;
}

.member-name {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #B8860B;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #B8860B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    max-width: 672px;
    padding: 4.5rem 5rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 32px 0 rgba(44,62,80,0.10);
    margin: 0 auto;            /* stays centered */
    float: none;               /* unchanged */
    width: 100%;               /* keeps the form fluid below 672 px */
}

.form-group {
    position: relative;
    margin-bottom: 2.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.3rem 1.3rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.9rem;
    color: #B8860B;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-text {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: #B8860B;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #B8860B;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-main {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

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

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

    .values-grid {
        gap: 1.5rem;
    }

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

    .logo-text {
        font-size: 0.9rem;
    }

    .nav-link {
        margin: 0.5rem 0;
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

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

    .hero-main {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .service-card {
        margin: 0 10px;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .logo-text {
        font-size: 0.8rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #B8860B;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .contact-form-container {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.2rem;
    color: #222;
    position: relative;
    font-weight: 700;
}

.services-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px 0 rgba(44,62,80,0.08);
    overflow: hidden;
    transition: background 0.3s;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.35rem;
    font-weight: 600;
    color: #222;
    text-align: left;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, color 0.3s;
}

.accordion-item:hover .accordion-header,
.accordion-header:focus {
    background: #f7ecd2;
    color: #B8860B;
}

.accordion-header.open {
    color: #B8860B;
    border-bottom: none !important;
    box-shadow: none !important;
}

.accordion-icon {
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: transform 0.3s, color 0.3s;
}

.accordion-header.open .accordion-icon {
    transform: rotate(45deg);
    color: #B8860B;
}

.accordion-body {
    display: none;
    padding: 0 2rem 1.5rem 2rem;
    color: #444;
    font-size: 1.1rem;
    animation: fadeInAccordion 0.3s;
    margin-top: 2.2rem;
}

.accordion-item.open .accordion-body {
    display: block;
}

@keyframes fadeInAccordion {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .services-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.accordion-item.open,
.accordion-header.open {
    border-bottom: none !important;
    box-shadow: none !important;
}

.accordion-header,
.accordion-header.open,
.accordion-item,
.accordion-item.open {
    border-bottom: none !important;
}

.accordion-item.open,
.accordion-item.open::before,
.accordion-item.open::after {
    border-bottom: none !important;
}

.accordion-item.open > .accordion-header {
    border-bottom: none !important;
}
.accordion-item.open {
    border-bottom: none !important;
}

.accordion-header.open + * {
    border-bottom: none !important;
}

.rotating-banner-section {
    background: #fff;
    box-shadow: 0 2px 12px rgba(44,62,80,0.06);
    padding: 1.5rem 0 2.5rem 0;
    margin: 0 auto 3rem auto;
    width: 100%;
    overflow: hidden; /* Add this to contain the inner banner */
}

.rotating-banner {
    display: flex;
    align-items: center;
    /* Remove justify-content: center; The JS will handle alignment */
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    /* Remove width: 100%; and overflow: hidden; from here */
    padding: 0 20px; /* Match container padding */
}

.rotating-banner.scrollable {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.rotating-banner.scrollable::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.banner-logo {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin: 0 1rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent logos from shrinking */
}

.banner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partners-section {
    padding: 0.5rem 0 3rem 0;
    margin: 0;
}

.partners-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    position: relative;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: white;
    font-size: 2rem;
}

.modal-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.modal-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.modal-close-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #B8860B;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
    
    .modal-title {
        font-size: 2rem;
    }
}

