/* Global Styles with CSS Variables for Theming */
:root {
    --primary-color: #3498db;
    --secondary-color: #3f37c9;
    --text-color: #333;
    --bg-color: #fff;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --card-bg: #f8f9fa;
    --shadow-color: rgba(0,0,0,0.1);
  
    /* Theme variables */
    --bg-color: #ffffff;
    --text-color: #333333;
    --header-bg: rgba(255, 255, 255, 0.98);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --nav-link-color: #2c3e50;
    --footer-bg: #113c66;
    --footer-text: #ffffff;
    }
    [data-theme="dark"] {
            --text-color: #e6e6e6;
            --bg-color: #1a1a2e;
            --card-bg: #16213e;
            --shadow-color: rgba(0,0,0,0.3);
            --header-bg: rgba(26, 26, 46, 0.98);
            --nav-link-color: #e6e6e6;
            --footer-bg: #0d2f5080;
            --footer-text: #ffffff;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    padding-top: 70px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animated elements base class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Button styles with hover animations */
.btn {
    display: inline-block;
    padding: 7px 24px;
    border-radius: 70px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

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

.btn.primary:hover {
    background-color: #2980b9;
}

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

.btn.secondary:hover {
    background-color: #27ae60;
}

.btn.small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Header Styles with hover animations */
.transparent-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.4s ease;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}
 .logo {
        display: flex;
        align-items: center;
        gap: 10px;

    }
        
        .logo img {
        height: 30px;
    }

.logo-text a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo-text a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.logo-text a:hover::after {
    width: 100%;
}

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

.nav-right {
    display: flex;
    list-style: none;
}

.nav-right li {
    margin-left: 25px;
    position: relative;
}

.nav-right li a {
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 10px;
    color: var(--nav-link-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-right > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-right > li > a:hover::after,
.nav-right > li > a.active::after {
    width: 100%;
}

.nav-right li a:hover, .nav-right li a.active {
    color: var(--primary-color);
}

/* Dropdown Menu with animation */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px var(--shadow-color);
    border-radius: 10px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    transform: translateY(10px) scale(0.95);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    margin: 0;
    padding: 8px 20px;
    transition: background-color 0.3s;
}

.dropdown-menu li:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.dropdown-menu li a {
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--nav-link-color);
    margin-left: 20px;
    background: none;
    border: none;
    transition: transform 0.3s;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(30deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-right {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: var(--header-bg);
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px var(--shadow-color);
    }
    
    .nav-right.active {
        right: 0;
    }
    
    .nav-right li {
        margin: 15px 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding-left: 20px;
        display: none;
        margin-top: 10px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Ensure dropdown links are clickable */
    .dropdown-menu li a {
        pointer-events: auto !important;
    }
    
    /* Fix dropdown display on mobile */
    .dropdown.active .dropdown-menu {
        display: block !important;
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        background-color: transparent;
        padding-left: 20px;
    }
}
/* Feedback Section */
.feedback {
    padding: 60px 0;
    background: linear-gradient(135deg, #4deeab60, #0d2f50f6);
    color: white;
}

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

.feedback-content {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.feedback-content h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.feedback-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feedback-form input,
.feedback-form textarea {
    flex: 1;
    padding: 12px 15px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

.feedback-form textarea {
    min-height: 100px;
    resize: vertical;
}

.feedback-form button {
    padding: 12px 25px;
    align-self: flex-start;
}

/* Footer with enhanced styling */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-column p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(14, 105, 209, 0.562);
    color: var(--footer-text);
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
}

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

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: white;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}



