:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8cc;
    --accent-color: #ff9f1c;
    --dark-color: #1a1a2e;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.text-left {
    text-align: left;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.highlight {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.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%;
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
}

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

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

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

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

.nav-link:not(.btn):hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Specific styling for the 'Book Now' button in navbar */
.nav-link.btn-primary {
    padding: 10px 25px;
    border-radius: 4px;
    color: var(--white) !important; /* Ensure text is white */
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
    transform: translateY(0);
}

.nav-link.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 168, 204, 0.3);
}

/* Remove underline effect for button */
.nav-link.btn-primary::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0; /* Override margin if needed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(26, 26, 46, 0.9));
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Section Headers */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sub-title {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
    font-family: 'Inter', sans-serif;
}

.section-header .title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

/* About Section */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.col-6 {
    flex: 1;
    min-width: 300px;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 168, 204, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    font-weight: 500;
}

.check-list i {
    color: var(--secondary-color);
}

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

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

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 86, 179, 0.1);
    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 .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.learn-more:hover {
    gap: 10px;
    color: var(--secondary-color);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 2px solid transparent;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

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

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.portfolio-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

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

/* Team Section */
.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.3s ease;
}

.team-card:hover .social-links {
    bottom: 0;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

.team-info {
    padding: 25px;
}

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

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

/* Testimonials Section */
.testimonial-slider-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.testimonial-card {
    min-width: 350px;
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    scroll-snap-align: center;
    border-top: 4px solid var(--secondary-color);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(0, 86, 179, 0.1);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Contact Section */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.col-5 {
    flex: 5;
    min-width: 300px;
}

.col-7 {
    flex: 7;
    min-width: 300px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    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(0, 168, 204, 0.1);
}

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

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    color: var(--white);
    display: block;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

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

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0; /* Hidden by default for JS to trigger */
}

.fade-in-up.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left.animate {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right.animate {
    animation: fadeInRight 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.3s ease-in-out;
        padding-top: 80px;
        display: block;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        gap: 25px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .col-6, .col-5, .col-7 {
        flex: 100%;
    }
    
    .contact-row {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .experience-badge {
        padding: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-header .title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 16px;
    }
}
