/* ===================================
   Global Styles
=================================== */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #E76C16;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ===================================
   Top Bar
=================================== */
.top-bar {
    font-size: 0.9rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

.social-links a {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* ===================================
   Navigation
=================================== */
.navbar {
    padding: 0.1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
    padding-left: 25px;
}

/* ===================================
   Custom Navbar Toggler Button
=================================== */
.custom-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toggler:focus {
    box-shadow: none;
    outline: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    height: 24px;
    cursor: pointer;
    position: relative;
}

.hamburger .line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger animation on collapse */
.navbar-toggler[aria-expanded="true"] .hamburger .line-1 {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger .line-2 {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler[aria-expanded="true"] .hamburger .line-3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===================================
   Custom Mobile Navigation
=================================== */
.custom-navbar-collapse {
    padding-top: 5px;
    transition: all 0.4s ease;
}

.custom-navbar-nav {
    flex-direction: column;
    gap: 0;
    animation: slideDown 0.4s ease-out;
}

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

.custom-navbar-nav .nav-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.custom-navbar-nav .nav-item:last-child {
    border-bottom: none;
}

.custom-navbar-nav .nav-link {
    padding: 12px 16px !important;
    font-weight: 500;
    color: #333 !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.custom-navbar-nav .nav-link:hover {
    background-color: #f5f5f5;
    padding-left: 20px !important;
    color: var(--primary-color) !important;
}

.custom-navbar-nav .nav-link.active {
    background-color: #e7f1ff;
    color: var(--primary-color) !important;
    border-left: 4px solid var(--primary-color);
    padding-left: 12px !important;
}

.custom-navbar-nav .nav-link::after {
    display: none;
}

/* Dropdown styling in mobile */
.custom-navbar-nav .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    border-radius: 0;
    position: relative;
    margin-top: 0;
}

.custom-navbar-nav .dropdown-item {
    padding: 10px 16px 10px 40px;
    font-weight: 400;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.custom-navbar-nav .dropdown-item:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 45px;
}

.custom-navbar-nav .btn {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    border-radius: 8px;
}

/* Desktop navigation styles */
@media (min-width: 992px) {
    .custom-navbar-nav {
        flex-direction: row;
        gap: 0;
        animation: none;
    }

    .custom-navbar-nav .nav-item {
        border-bottom: none;
        transition: all 0.3s ease;
    }

    .custom-navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        background-color: transparent !important;
    }

    .custom-navbar-nav .nav-link::after {
        display: block;
    }

    .custom-navbar-nav .nav-link:hover {
        background-color: transparent !important;
        padding-left: 1rem !important;
    }

    .custom-navbar-nav .nav-link.active {
        background-color: transparent !important;
        border-left: none;
        padding-left: 1rem !important;
    }

    .custom-navbar-nav .dropdown-menu {
        border: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 10px;
        background-color: white;
        border-top: none;
    }

    .custom-navbar-nav .dropdown-item {
        padding: 10px 20px;
        border-left: none;
    }

    .custom-navbar-nav .dropdown-item:hover {
        border-left: none;
        padding-left: 20px;
    }

    .custom-navbar-nav .btn {
        margin-top: 0;
        margin-bottom: 0;
        width: auto;
    }
}

/* ===================================
   Hero Section
=================================== */
.hero-section {
    position: relative;
   
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1600880292089-90a7e086ee0c?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9) 0%, rgba(102, 126, 234, 0.85) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.hero-form-card {
    animation: fadeInRight 1s ease;
}

.hero-form-card .card {
    border-radius: 15px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.98);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* ===================================
   Features Section
=================================== */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

/* ===================================
   Services Section
=================================== */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

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

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,123,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 2rem;
}

.service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 1rem;
    font-size: 1.5rem;
    z-index: 999 !important;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

/* ===================================
   Process Section
=================================== */
.process-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

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

.process-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--warning-color), #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* ===================================
   Testimonials Section
=================================== */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.rating-summary {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* ===================================
   CTA Section
=================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

/* ===================================
   Footer
=================================== */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.footer-brand {
    display: flex;
    align-items: center;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--warning-color);
    padding-left: 5px;
}

.cities-list {
    color: rgba(255,255,255,0.7);
}

.cities-list a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.cities-list a:hover {
    color: var(--warning-color);
}

/* ===================================
   Floating Elements
=================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 120px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: var(--success-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

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

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===================================
   Responsive Design
=================================== */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-form-card {
        margin-top: 3rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .back-to-top {
        bottom: 90px;
        right: 20px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* ===================================
   Utility Classes
=================================== */
.section-padding {
    padding: 80px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.3);
    color: white;
}

/* Page-specific styles will be added in their respective sections */
/* About Us Section */
.about-section {
  background: #f8f9fa;
  position: relative;
}

.about-tag {
  display: inline-block;
  background: rgba(13,110,253,0.1);
  color: #0d6efd;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  color: #212529;
  line-height: 1.3;
}

.about-text {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  font-size: 16px;
  color: #212529;
  margin-bottom: 10px;
}

.about-btn {
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(13,110,253,0.2);
}

.about-image {
  position: relative;
}

.about-image img {
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 991px) {
  .about-title {
    font-size: 30px;
  }
}
