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

:root {
    --primary: #0f1e3a;
    --secondary: #17a2b8;
    --accent: #00bcd4;
    --dark: #0f1e3a;
    --light: #f5f9fc;
    --white: #ffffff;
    --text: #2c3e50;
    --border: #d0dce6;
    --success: #10b981;
    --error: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

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

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

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

h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #0f1e3a 0%, #1a3a52 50%, #17a2b8 100%);
    color: var(--white);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(15, 30, 58, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    min-height: 50px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.logo h1 {
    font-size: 0.95rem;
    color: var(--white);
    margin: 0;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.tagline {
    font-size: 0.6rem;
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-shrink: 0;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0f1e3a 0%, #17a2b8 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23, 162, 184, 0.4);
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-submit {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f1e3a 0%, #1a3a52 50%, #17a2b8 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background: var(--light);
}

.services-overview h2 {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(15, 30, 58, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #17a2b8;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0f1e3a 0%, #17a2b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin: 20px 0;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: #666;
    font-size: 0.95rem;
}

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

.service-card .btn {
    margin-top: 20px;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: var(--white);
}

.why-us h2 {
    text-align: center;
}

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

.feature {
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: #17a2b8;
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0f1e3a 0%, #1a3a52 50%, #17a2b8 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #0f1e3a 0%, #1a3a52 50%, #17a2b8 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.contact-hero h2 {
    color: var(--white);
    margin-bottom: 15px;
}

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

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper h3 {
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #17a2b8;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

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

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    border-left: 4px solid var(--success);
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border-left: 4px solid var(--error);
    color: #7f1d1d;
}

.alert i {
    font-size: 1.2rem;
}

/* Contact Info */
.contact-info-wrapper h3 {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f1e3a 0%, #17a2b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-content h4 {
    margin: 0 0 8px 0;
}

.info-content p {
    margin: 5px 0;
    font-weight: 500;
}

.info-content a {
    color: var(--primary);
}

.info-content small {
    color: #999;
    font-size: 0.85rem;
}

.info-box {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.info-box.highlight {
    background: linear-gradient(135deg, rgba(15, 30, 58, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
    border-left: 4px solid #17a2b8;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 8px 0;
    color: var(--text);
}

/* FAQ Section */
.faq-section {
    background: var(--light);
    padding: 80px 0;
}

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

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

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.faq-item h4 {
    color: #17a2b8;
    margin-bottom: 12px;
}

.faq-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

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

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--accent);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    color: #ccc;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }

    .hamburger {
        display: flex;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        gap: 8px;
    }

    .logo-image {
        height: 32px;
    }

    .logo h1 {
        font-size: 0.9rem;
        line-height: 1;
    }

    .tagline {
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        gap: 6px;
    }

    .logo-image {
        height: 28px;
    }

    .logo h1 {
        font-size: 0.85rem;
        line-height: 1;
    }

    .tagline {
        font-size: 0.48rem;
        letter-spacing: 0.8px;
        line-height: 1;
    }

    .nav-menu {
        gap: 10px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-card {
        padding: 25px 20px;
    }

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

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
