/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-blue: #003366;
    --secondary-blue: #0056b3;
    --accent-green: #28a745;
    --light-green: #d4edda;
    --dark-text: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ==================== GENERAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==================== HEADER & NAVBAR ==================== */
.header-top {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    display: none;
}

.header-top a {
    color: var(--white);
}

.header-top a:hover {
    color: var(--accent-green);
}

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-blue) !important;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    height: 3px;
    width: 0;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 24px);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent-green);
    animation: slideDown 0.3s ease;
    min-width: 250px;
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--dark-text);
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--secondary-blue);
    padding-left: 30px;
}

.dropdown-item.active {
    background-color: var(--light-green);
    color: var(--primary-blue);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== HERO BANNER ==================== */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="rgba(255,255,255,0.05)" width="1200" height="600"/><circle cx="100" cy="100" r="50" fill="rgba(255,255,255,0.1)"/><circle cx="1100" cy="500" r="80" fill="rgba(255,255,255,0.1)"/></svg>');
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-banner p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-banner-image {
    margin-top: 50px;
    animation: float 3s ease-in-out infinite;
}

.hero-banner-image img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==================== CTA BUTTONS ==================== */
.btn-primary {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    padding: 12px 30px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: var(--white);
}

.cta-button {
    display: inline-block;
    margin: 10px;
}

/* ==================== SECTIONS STYLING ==================== */
section {
    padding: 80px 0;
}

section h2 {
    color: var(--primary-blue);
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-green);
}

section h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

section p {
    color: var(--light-text);
    font-size: 16px;
    margin-bottom: 15px;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background-color: var(--light-bg);
}

.about-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-green);
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ==================== STEPS SECTION ==================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background-color: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 5px solid var(--accent-green);
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-blue);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-blue);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-card h4 {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-table {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.table {
    margin-bottom: 0;
}

.table thead {
    background-color: var(--primary-blue);
    color: var(--white);
}

.table th {
    padding: 20px;
    font-weight: 600;
    border: none;
    vertical-align: middle;
}

.table td {
    padding: 15px 20px;
    vertical-align: middle;
    border-color: var(--border-color);
}

.table tbody tr:hover {
    background-color: var(--light-bg);
}

.table-check {
    color: var(--accent-green);
    font-weight: bold;
    font-size: 18px;
}

.table-cross {
    color: #dc3545;
    font-weight: bold;
    font-size: 18px;
}

/* ==================== BENEFITS SECTION ==================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-blue);
}

.benefit-card h4 {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--light-text);
}

/* ==================== GALLERY SECTION ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: var(--white);
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.testimonials-section h2 {
    color: var(--white);
}

.testimonials-section h2::after {
    background-color: var(--accent-green);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: var(--dark-text);
    border-left: 5px solid var(--accent-green);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 15px;
}

.testimonial-location {
    font-size: 12px;
    color: var(--light-text);
}

.stars {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--light-text);
    line-height: 1.8;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    background-color: var(--light-bg);
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    background-color: var(--white);
    border: none;
    text-align: left;
    width: 100%;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: var(--light-bg);
    padding-left: 30px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--light-text);
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-toggle {
    color: var(--accent-green);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

/* ==================== CONTACT FORM ==================== */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-link {
    display: block;
    padding: 5px 0;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== FLOATING BUTTONS ==================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
}

.floating-btn.call {
    background-color: #4CAF50;
}

.floating-btn.call:hover {
    background-color: #45a049;
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.whatsapp:hover {
    background-color: #1fa855;
    transform: scale(1.1);
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    background-color: var(--light-bg);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb-item {
    color: var(--light-text);
}

.breadcrumb-item.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--secondary-blue);
}

.breadcrumb-item a:hover {
    color: var(--primary-blue);
}

/* ==================== SERVICE PAGES ==================== */
.service-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 40px;
}

.service-banner h1 {
    font-size: 42px;
    font-weight: bold;
}

.service-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.feature-item h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* ==================== ENQUIRY FORM ==================== */
.enquiry-form-section {
    background: linear-gradient(135deg, var(--light-green) 0%, rgba(40, 167, 69, 0.1) 100%);
    padding: 50px 0;
}

.enquiry-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.enquiry-form h3 {
    color: var(--primary-blue);
    margin-bottom: 30px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header-top {
        display: block;
    }

    .header-top .text-end {
        display: none;
    }

    .hero-banner .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero-banner h1 {
        font-size: 32px;
    }

    .hero-banner p {
        font-size: 16px;
    }

    section h2 {
        font-size: 28px;
    }

    section h3 {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar-nav {
        flex-direction: column !important;
    }

    .contact-form,
    .enquiry-form {
        padding: 25px;
    }

    .steps-container,
    .benefits-grid,
    .service-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }

    .hero-banner {
        padding: 60px 0;
    }

    .hero-banner .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .hero-banner h1 {
        font-size: 24px;
    }

    .hero-banner p {
        font-size: 14px;
    }

    .hero-banner-image {
        padding-left: 5px;
        padding-right: 5px;
    }

    section h2 {
        font-size: 22px;
    }

    .cta-button {
        margin: 10px 0;
        width: 100%;
    }

    .cta-button .btn {
        width: 100%;
    }

    .header-top {
        display: block;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .dropdown-menu {
        min-width: 100%;
    }

    .table {
        font-size: 12px;
    }

    .table th,
    .table td {
        padding: 10px;
    }

    .testimonial-card {
        margin-bottom: 15px;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-success {
    color: var(--accent-green) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}
