@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --primary-blue: #00b0f0;
    --dark-charcoal: #222222;
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --primary-blue-dark: #008cc7;
    --primary-blue-light: #4fc8f7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Primary CTA Button */
.primary-cta {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 200ms ease-out;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 176, 240, 0.3);
}

.primary-cta:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 176, 240, 0.5);
    color: var(--white);
}

.primary-cta:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 176, 240, 0.4);
}

/* Secondary CTA */
.secondary-cta {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-blue);
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-blue);
    transition: all 200ms ease-out;
    cursor: pointer;
}

.secondary-cta:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 300ms ease;
}

.navbar.scrolled {
    padding: 10px 0;
}

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

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

.nav-logo img {
    height: 60px;
    width: auto;
}

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

.nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-charcoal);
    position: relative;
    padding: 5px 0;
    transition: color 200ms ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 300ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

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

.nav-cta {
    margin-left: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-charcoal);
    margin: 3px 0;
    transition: all 300ms ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.85) 0%, rgba(34, 34, 34, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.9;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-blue);
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background-color: var(--light-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 150ms ease-out;
    position: relative;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 176, 240, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 400ms ease-out;
    z-index: 0;
}

.service-card:hover::before {
    width: 300px;
    height: 300px;
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark-charcoal);
}

.service-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 200ms ease;
}

.service-link:hover {
    gap: 10px;
}

.service-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
}

.about-content .subtitle {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.about-feature span {
    font-size: 0.95rem;
    color: #555;
}

/* ==================== PROCESS SECTION ==================== */
.process {
    background-color: var(--light-grey);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 400ms ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.process-step.visible .process-icon {
    opacity: 1;
    transform: translateY(0);
}

.process-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-blue);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-charcoal);
}

.process-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    padding: 0 10px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: calc(50% - 75px);
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    background-color: var(--white);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light-grey);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 500ms ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.quote-icon {
    width: 50px;
    height: 50px;
    fill: var(--primary-blue);
    margin-bottom: 20px;
    animation: quotePulse 3s ease-in-out infinite;
}

@keyframes quotePulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-charcoal);
    font-size: 1.1rem;
}

.testimonial-affiliation {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 200ms ease;
}

.testimonial-dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-us {
    background-color: var(--dark-charcoal);
    color: var(--white);
}

.why-choose-us .section-title {
    color: var(--white);
}

.why-choose-us .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 176, 240, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--primary-blue);
}

.why-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--white);
}

.why-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ==================== BLOG SECTION ==================== */
.blog {
    background-color: var(--light-grey);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 150ms ease-out;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark-charcoal);
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 200ms ease;
}

.blog-link:hover {
    gap: 10px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
}

.contact-info .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-blue);
}

.contact-item span {
    font-size: 1rem;
    color: #555;
}

.contact-item a {
    color: var(--primary-blue);
    font-weight: 600;
}

.service-areas {
    margin-top: 2rem;
}

.service-areas h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark-charcoal);
}

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

.contact-form {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 15px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-charcoal);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background: var(--white);
    transition: all 100ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 176, 240, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

.form-group .underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 300ms ease;
    transform: translateX(-50%);
}

.form-group input:focus ~ .underline,
.form-group select:focus ~ .underline,
.form-group textarea:focus ~ .underline {
    width: 100%;
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.form-submit .primary-cta {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 200ms ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-blue);
    transition: width 200ms ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9) 0%, rgba(34, 34, 34, 0.8) 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps::before {
        display: none;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        transition: right 300ms ease-out;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 150px 0 80px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .primary-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
    
    .process-icon {
        opacity: 1;
        transform: none;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.hidden { display: none; }
.visible { display: block; }
