:root {
    --primary: #1a5276;
    --secondary: #3498db;
    --accent: #2ecc71;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0;
}

.logo-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: -10px;
}

.logo {
    height: 85px;
    display: flex;
    align-items: flex-start;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
}

.logo img {
    height: 85%;
    width: auto;
    padding-top: 10px;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
    margin-top: 3px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 15px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--secondary);
    background-color: rgba(52, 152, 219, 0.1);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--secondary);
    color: white;
}

/* Active State */
.nav-link.active {
    color: var(--secondary);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
}

/* CTA Button */
.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    margin-left: 10px;
}

.nav-cta:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: var(--light);
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card ul {
    list-style: none;
    margin-top: 15px;
}

.service-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* Contact Section */
.contact {
    background-color: var(--primary);
    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-detail i {
    margin-right: 15px;
    font-size: 20px;
    color: var(--accent);
}

/* Email and Phone Links */
a.email, a.phone {
    text-decoration: none;
    color: white;
}

/* Map Styles */
.map-container {
    margin: 30px 0;
}

.map-container h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: white;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 300px;
}

.contact-form {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    align-items: flex-start;
}

.footer-logo {
    flex: 1;
    padding-right: 30px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    color: white;
    font-weight: 600;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
    line-height:normal;
    margin: 0;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 3px 0;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: white;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* Tablet and Mobile Styles */
@media (max-width: 768px) {
    /* Header and Navigation */
    .logo-text {
        display: none;
    }
    
    .header-container {
        padding: 10px 0;
        align-items: center;
    }
    
    .logo-container {
        margin-top: 0;
        align-items: center;
    }
    
    .logo {
        height: 60px;
    }
    
    .logo img {
        height: 100%;
        padding-top: 0;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
    }
    
    nav ul li a {
        display: flex;
        padding: 12px 20px;
        justify-content: center;
        width: 100%;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.03);
        display: none;
        padding: 0;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li {
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 10px 20px 10px 40px;
        font-size: 0.9em;
    }
    
    .nav-cta {
        margin: 10px 0 0 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--dark);
        z-index: 1001;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    /* Footer Mobile Styles */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: left;
    }
    
    .footer-logo {
        width: 100%;
        margin-bottom: 30px;
        padding-right: 0;
        text-align: left;
    }
    
    .footer-logo img {
        margin: 0 0 15px 0;
        display: block;
    }
    
    .footer-logo p {
        max-width: 100%;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: left;
    }
    
    /* Footer Links */
    .footer-links {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        gap: 30px;
        text-align: left;
    }
    
    .footer-links > div {
        width: 100%;
    }
    
    .footer-links h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        position: relative;
        display: block;
        text-align: left;
        width: 100%;
        padding-left: 0;
    }
    
    .footer-links h4:after {
        left: 0;
        transform: none;
        width: 60px;
    }
    
    .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: block;
        text-align: left;
        width: 100%;
    }
    
    .footer-links ul li {
        margin-bottom: 12px;
        display: block;
        text-align: left;
        width: 100%;
        line-height: normal;
        margin: 0;
    }
    
    .footer-links ul li a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s;
        font-size: 0.95rem;
        display: block;
        padding: 5px 0;
        text-align: left;
        width: 100%;
    }
    
    .footer-links ul li a:hover {
        color: white;
    }
    
    /* Social Links */
    .social-links {
        justify-content: flex-start;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    
    .copyright {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.85rem;
        text-align: left;
    }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 480px) {
    .footer-logo p {
        font-size: 0.9rem;
    }
    
    .footer-links h4 {
        font-size: 1.1rem;
    }
    
    .footer-links ul li a {
        font-size: 0.9rem;
    }
}