/* Reset & Base */
:root {
    --primary-color: #0D2A5C;
    --primary-light: #163A75;
    --secondary-color: #C5A059;
    --secondary-hover: #D4B06A;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-radius: 12px;
    --btn-radius: 50px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on logo aspect ratio */
    filter: brightness(0) invert(1);
    /* Make logo white if it's not transparent/white */
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

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

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

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: var(--btn-radius);
}

.btn-nav:hover {
    background-color: var(--secondary-hover);
}

.btn-nav::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../attachments/7.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
    /* Navbar is fixed */
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 42, 92, 0.85), rgba(13, 42, 92, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.about-image-container {
    position: relative;
    padding-right: 30px;
}

.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .years {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.about-text-container {
    padding-left: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.value-card .icon-box {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Differentials Section */
.differentials {
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.differentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../attachments/5.jpg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.differentials .container {
    position: relative;
    z-index: 1;
}

.differentials .section-title,
.differentials .section-description {
    color: var(--white);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.diff-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.diff-card:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.diff-card:hover .diff-icon {
    color: var(--white);
}

.diff-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.diff-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

.services .section-title,
.services .section-description {
    color: var(--primary-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(13, 42, 92, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Team Section */
.team {
    background-color: var(--white);
}

.team .section-title {
    color: var(--primary-color);
}

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

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-img {
    height: 300px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding-bottom: 0;
    /* Remove bottom padding to merge with map */
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
}

.contact-info-col {
    padding-right: 50px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.info-item h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-form-col {
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: -80px;
    /* Overlap with map section */
    position: relative;
    z-index: 10;
}

.form-title {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

.col-lg-4 {
    width: 33.333%;
    padding: 0 15px;
}

.col-lg-2 {
    width: 16.666%;
    padding: 0 15px;
}

.col-lg-3 {
    width: 25%;
    padding: 0 15px;
}

.col-lg-5 {
    width: 41.666%;
    padding: 0 15px;
}

.col-lg-7 {
    width: 58.333%;
    padding: 0 15px;
}

/* Map Section */
.map-section {
    padding-top: 120px;
    /* Space for form overlap */
    padding-bottom: 0;
}

/* Footer */
.footer {
    background-color: #081b3b;
    /* Darker than primary */
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Form Feedback */
.form-feedback {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

.form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .col-lg-4,
    .col-lg-2,
    .col-lg-3,
    .col-lg-5,
    .col-lg-7 {
        width: 100%;
        margin-bottom: 30px;
    }

    .contact-info-col {
        padding-right: 0;
    }

    .contact-form-col {
        margin-bottom: 0;
        margin-top: 30px;
    }

    .map-section {
        padding-top: 50px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

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

    .nav-item {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .col-md-6 {
        width: 100%;
        margin-bottom: 30px;
    }

    .about-image-container {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .about-text-container {
        padding-left: 0;
    }
}