/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #1a1a2e;
}

/* Header and Navigation */
.header {
    background-color: #16213e;
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: #4a90e2;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    margin-right: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4a90e2;
}

.settings-icon {
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.settings-icon:hover {
    color: #4a90e2;
}

.get-quote-btn {
    background-color: #4a90e2;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.get-quote-btn:hover {
    background-color: #357abd;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    z-index: 1001;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main-content {
    margin-top: 90px;
    min-height: calc(100vh - 90px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.credentials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.credential {
    background-color: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: white;
    color: #2a5298;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: white;
    color: #2a5298;
}

/* Quote Form */
.quote-form {
    background-color: #16213e;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.quote-form h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quote-form p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2a2a3e;
    color: white;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

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

.submit-btn {
    background-color: #4a90e2;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #357abd;
}

/* Services Page */
.services-hero {
    background-color: #16213e;
    color: white;
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.service-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-btn {
    background-color: #4a90e2;
    color: white;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.service-btn:hover {
    background-color: #357abd;
}

/* Contact Page */
.contact-hero {
    background-color: #16213e;
    color: white;
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background-color: #16213e;
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.contact-form h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-form p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info {
    color: white;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    background-color: #4a90e2;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.info-content p {
    color: #ccc;
    font-size: 0.9rem;
}

.why-choose {
    margin-top: 3rem;
}

.why-choose h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #ccc;
}

.check-icon {
    color: #4a90e2;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #0f1627;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #4a90e2;
}

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

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

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        margin-top: 110px;
    }
    
    .hero {
        padding-top: 3rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #16213e;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .get-quote-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    
    .settings-icon {
        display: none;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item:nth-child(even) {
        direction: ltr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 120px;
    }
    
    .hero {
        padding: 2.5rem 1rem;
        padding-top: 2rem;
    }
    
    .services-grid,
    .contact-container {
        padding: 2rem 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .credentials {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}