/* ================================
   Website Styles
   ================================ */

:root {
    --primary-color: #001642;
    --secondary-color: #c9951b;
    --accent-color: #c9951b;
    --light-bg: #f5f5f5;
    --dark-text: #000000;
    --light-text: #666666;
    --success-color: #27ae60;
    --gradient-1: linear-gradient(135deg, #001642 0%, #003885 100%);
    --gradient-2: linear-gradient(135deg, #c9951b 0%, #daa520 100%);
    --gradient-3: linear-gradient(135deg, #001642 0%, #c9951b 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
}

/* ================================
   Navigation Bar
   ================================ */

.navbar {
    background: linear-gradient(135deg, #001642 0%, #003885 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}



/* Navbar alignment helpers
   - keep logo and toggle at ends
   - center desktop menu between them */
.navbar-logo {
    flex: 0 0 auto;
}

.navbar-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.navbar-toggle {
    flex: 0 0 auto;
}

.navbar-logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo i {
    font-size: 2rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.navbar-menu li .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.navbar-menu li .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-menu li .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.navbar-toggle {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* ================================
   Mobile Offcanvas Menu Design
   ================================ */

.offcanvas {
    background: #f8f9fa;
}

.offcanvas-header {
    border-bottom: 2px solid rgba(201, 149, 27, 0.2);
}

.offcanvas-body {
    padding: 2rem 1.5rem;
}

.offcanvas-body .navbar-nav {
    gap: 0.5rem;
}

.offcanvas-body .nav-item {
    margin-bottom: 0.5rem;
}

.offcanvas-body .nav-item a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.offcanvas-body .nav-item a:hover {
    background: linear-gradient(135deg, #001642 0%, #003885 100%);
    color: white;
    transform: translateX(5px);
}

.offcanvas-body .nav-item a.active {
    background: linear-gradient(135deg, #c9951b 0%, #daa520 100%);
    color: white;
    font-weight: 600;
}

.offcanvas-body .nav-item a i {
    width: 24px;
    font-size: 1.1rem;
}

.offcanvas-body hr {
    border-color: rgba(201, 149, 27, 0.3);
    margin: 1.5rem 0;
}

.offcanvas-body .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.offcanvas-body .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.offcanvas-body .btn-outline-dark {
    border: 2px solid #001642;
    color: #001642;
}

.offcanvas-body .btn-outline-dark:hover {
    background: #001642;
    color: white;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
    background: linear-gradient(135deg, #001642 0%, #003885 100%);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,181.3C960,181,1056,139,1152,128C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #c9951b;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #001642;
    transform: translateY(-3px);
}

/* ================================
   Features Section
   ================================ */

.features-section {
    padding:2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
        font-weight: 700;

    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-2);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--gradient-3);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-description {
    color: var(--light-text);
    line-height: 1.8;
}

/* ================================
   About Section
   ================================ */

.about-section {
    padding: 2rem;
    background: white;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-text p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Services Section
   ================================ */

.services-section {
    padding: 2rem;
    background: var(--light-bg);
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.service-card:nth-child(2) .service-image {
    background: var(--gradient-2);
}

.service-card:nth-child(3) .service-image {
    background: var(--gradient-3);
}

.service-card:nth-child(4) .service-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.service-card:nth-child(5) .service-image {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-description {
    color: var(--light-text);
    line-height: 1.8;
}

/* ================================
   Contact Section
   ================================ */

.contact-section {
    padding: 2rem;
    background: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-details p {
    color: var(--light-text);
}

.contact-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* ================================
   Footer
   ================================ */

.footer {
    background: #001642;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   Animations
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Top Bar
   ================================ */

.top-bar {
    background: #c9951b;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: #001642;
    transform: scale(1.1);
}

.top-bar .col-md-6:last-child {
    text-align: right;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 991.98px) {
   
    
    .hero-section {
        padding: 5rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Ensure mobile navbar layout: hide desktop menu, show toggle */
    .navbar-menu {
        display: none !important;
    }

    .navbar-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        z-index: 1200;
    }

   

/* Additional safety for small phones */
@media (max-width: 575.98px) {
    .navbar-toggle {
        padding: 0.45rem 0.6rem;
        font-size: 1.2rem;
    }
}
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features-section,
    .services-section,
    .about-section,
    .contact-section {
        padding: 4rem 1.5rem;
    }
    
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        font-size: 0.8rem;
    }
    
   
    
    .top-bar .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .feature-title,
    .service-title {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo {
        font-size: 1.5rem;
    }
    
    .navbar-logo i {
        font-size: 1.5rem;
    }
    
  

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .features-section,
    .services-section,
    .about-section,
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .feature-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .feature-title,
    .service-title {
        font-size: 1.2rem;
    }
    
    .feature-description,
    .service-description {
        font-size: 0.95rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ================================
   Utility Classes
   ================================ */

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: var(--shadow);
}

.shadow-lg {
    box-shadow: var(--shadow-hover);
}

/* ================================
   Smooth Scrolling
   ================================ */

html {
    scroll-behavior: smooth;
}

/* ================================
   Loading State
   ================================ */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ================================
   Hover Effects
   ================================ */

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ================================
   Responsive Images
   ================================ */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Form Validation States
   ================================ */

.is-invalid {
    border-color: #e74c3c !important;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}
