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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
}

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

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

/* Responsive Container */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 25px;
    }
    
    body {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 20px;
    }
    
    body {
        padding-top: 65px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    body {
        padding-top: 60px;
    }
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition);
}

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

/* Responsive Logo */
@media (max-width: 992px) {
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9eef3 100%);
    color: var(--text-dark);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Soft gradient glow overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 60%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}

/* Container layout */
.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Responsive Hero */
@media (max-width: 1200px) {
    .hero {
        padding: 140px 0 90px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero .container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 16px 70px;
        text-align: center;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 110px 12px 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
}

.hero-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    border-radius: 22px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25),
        0 25px 60px rgba(0, 0, 0, 0.35);
    transition: 0.4s ease;
}

.hero-img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35),
        0 35px 80px rgba(0, 0, 0, 0.45);
}

@media (max-width: 992px) {
    .hero-img {
        max-width: 600px;
        border-radius: 18px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        min-width: 100%;
    }
    
    .hero-img {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .hero-img:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .hero-img {
        border-radius: 12px;
    }
}

/* Sections */
section {
    padding: 80px 0;
}

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

.bg-light {
    background: var(--bg-light);
}

/* Responsive Sections */
@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
}

/* Cards & Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
}

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

/* Responsive Grid */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 30px 25px;
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .card {
        padding: 25px 20px;
    }
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform var(--transition), box-shadow var(--transition);
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background var(--transition);
    width: auto;
}

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

/* Responsive Buttons */
@media (max-width: 768px) {
    .cta-button {
        padding: 12px 35px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 35px;
    }
}

@media (max-width: 576px) {
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

/* Responsive Forms */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group textarea {
        min-height: 100px;
    }
}

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

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

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

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

/* Responsive Footer */
@media (max-width: 992px) {
    footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        gap: 35px;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
}

/* Services & Portfolio specific */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Responsive Service Icons */
@media (max-width: 768px) {
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .service-icon {
        font-size: 2.2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* Responsive About Section */
@media (max-width: 992px) {
    .about-content {
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
    }
    
    .about-text p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-box {
        padding: 18px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Responsive Process Steps */
@media (max-width: 992px) {
    .process-steps {
        gap: 35px;
        margin-top: 2.5rem;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 2rem;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: transform var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 1rem;
    text-align: center;
}

/* Responsive Portfolio */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 2rem;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.5rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .portfolio-item {
        height: 220px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-position {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 2rem;
    }
    
    .testimonial-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

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

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

.info-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

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

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-content {
        gap: 40px;
    }
    
    .contact-info,
    .contact-form {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .info-item {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 576px) {
    .contact-info,
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .info-icon {
        font-size: 1.3rem;
        margin-right: 0.8rem;
    }
}

/* Policy & Page Styles */
.policy-header,
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: -80px;
    padding-top: 120px;
}

.policy-header h1,
.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.policy-header p,
.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.policy-content,
.page-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: -40px auto 40px;
    position: relative;
    z-index: 10;
    max-width: 900px;
}

/* Responsive Policy & Page */
@media (max-width: 992px) {
    .policy-header,
    .page-header {
        padding: 110px 0 50px;
    }
    
    .policy-header h1,
    .page-header h1 {
        font-size: 2.4rem;
    }
    
    .policy-content,
    .page-content {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .policy-header,
    .page-header {
        padding: 100px 20px 40px;
        margin-top: -65px;
        padding-top: 100px;
    }
    
    .policy-header h1,
    .page-header h1 {
        font-size: 2rem;
    }
    
    .policy-header p,
    .page-header p {
        font-size: 1.1rem;
    }
    
    .policy-content,
    .page-content {
        padding: 30px 25px;
        margin: -30px 20px 30px;
    }
}

@media (max-width: 576px) {
    .policy-header,
    .page-header {
        padding: 90px 15px 35px;
        margin-top: -60px;
        padding-top: 90px;
    }
    
    .policy-header h1,
    .page-header h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .policy-header p,
    .page-header p {
        font-size: 1rem;
    }
    
    .policy-content,
    .page-content {
        padding: 25px 20px;
        margin: -25px 15px 25px;
        border-radius: 8px;
    }
}

/* Intro Section */
.intro-section {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
    text-align: center;
}

.intro-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.intro-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .intro-section {
        padding: 45px;
    }
    
    .intro-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 35px 25px;
        margin-bottom: 3rem;
    }
    
    .intro-section h2 {
        font-size: 1.6rem;
    }
    
    .intro-section p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .intro-section {
        padding: 25px 20px;
        margin-bottom: 2rem;
    }
    
    .intro-section h2 {
        font-size: 1.4rem;
    }
    
    .intro-section p {
        font-size: 0.95rem;
    }
}

/* Service Detail */
.service-detail {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.service-detail h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-detail p,
.service-detail li {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.service-detail ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #e5e7eb;
    gap: 20px;
}

.service-header .service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-header h2 {
    font-size: 2rem;
    margin: 0;
    color: var(--text-dark);
}

.service-header p {
    color: var(--text-light);
    margin: 0.5rem 0 0 0;
}

/* Responsive Service Detail */
@media (max-width: 992px) {
    .service-detail {
        padding: 40px;
    }
    
    .service-header {
        gap: 15px;
    }
    
    .service-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 35px 25px;
        margin-bottom: 2rem;
    }
    
    .service-detail h3 {
        font-size: 1.15rem;
        margin-top: 1.2rem;
    }
    
    .service-detail ul {
        padding-left: 1.25rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-bottom: 1.5rem;
    }
    
    .service-header .service-icon {
        font-size: 2rem;
    }
    
    .service-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-detail {
        padding: 25px 20px;
        margin-bottom: 1.5rem;
    }
    
    .service-detail h3 {
        font-size: 1.05rem;
        margin-top: 1rem;
    }
    
    .service-header .service-icon {
        font-size: 1.8rem;
    }
    
    .service-header h2 {
        font-size: 1.3rem;
    }
    
    .service-header p {
        font-size: 0.9rem;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.feature-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 1.5rem 0;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 18px;
    }
    
    .feature-card h4 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

/* Pricing Note */
.pricing-note {
    background: #eff6ff;
    padding: 30px;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.pricing-note h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing-note p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.pricing-note p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .pricing-note {
        padding: 28px;
    }
    
    .pricing-note h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .pricing-note {
        padding: 25px 20px;
        margin: 1.5rem 0;
    }
    
    .pricing-note h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .pricing-note p {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 576px) {
    .pricing-note {
        padding: 20px 15px;
        margin: 1.2rem 0;
        border-left-width: 3px;
    }
    
    .pricing-note h4 {
        font-size: 1rem;
    }
    
    .pricing-note p {
        font-size: 0.9rem;
    }
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background var(--transition);
    font-weight: 500;
}

.back-link:hover {
    background: var(--secondary-color);
}

@media (max-width: 576px) {
    .back-link {
        display: block;
        text-align: center;
        padding: 12px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
    }
    
    .portfolio-item:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .hero-img:hover {
        transform: none;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Enhanced Responsive Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding: 60px 40px 80px;
    font-family: 'Inter', sans-serif;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    margin-bottom: 24px;
}

.hero-badge span:first-child {
    height: 8px;
    width: 8px;
    background-color: #2563eb;
    border-radius: 50%;
    display: inline-block;
}

.hero-badge span:last-child {
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 20px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-btn {
    padding: 18px 36px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    display: inline-block;
}

.hero-btn-primary {
    background-color: #0f172a;
    color: #ffffff;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.hero-btn-secondary:hover {
    border-color: #0f172a;
    transform: translateY(-2px);
}

.hero-partners {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0.6;
    filter: grayscale(100%);
}

.hero-partners-label {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-partners-item {
    font-weight: 900;
    color: #334155;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    width: 100%;
    height: 400px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    rotate: -3deg;
    border-radius: 16px;
}

.hero-stat-box {
    position: absolute;
    bottom: 20px;
    left: -30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f8fafc;
    transform: rotate(-3deg);
}

.hero-stat-number {
    color: #2563eb;
    font-weight: 900;
    font-size: 24px;
}

.hero-stat-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Hero Section */
@media (max-width: 1024px) {
    .hero-section {
        padding: 70px 30px;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image-container {
        width: 100%;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }
    
    .hero-partners {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }
    
    .hero-stat-box {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 15px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 14px 30px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .hero-image-wrapper {
        height: 250px;
    }
    
    .hero-partners {
        font-size: 0.85rem;
    }
    
    .hero-stat-number {
        font-size: 20px;
    }
    
    .hero-stat-label {
        font-size: 9px;
    }
}

/* Portfolio Section Styles */
.portfolio {
    padding: 80px 5%;
    background-color: #fcfcfc;
    font-family: 'Inter', sans-serif;
}

.portfolio .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.project-desc {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.project-features li {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.project-features li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    margin-right: 10px;
}

.view-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.view-link:hover {
    color: #2563eb;
}

/* Responsive Portfolio Section */
@media (max-width: 1024px) {
    .portfolio {
        padding: 70px 4%;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .portfolio .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 60px 4%;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-card {
        padding: 25px;
    }
    
    .portfolio .section-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-features li {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .portfolio {
        padding: 50px 3%;
    }
    
    .portfolio-card {
        padding: 20px;
    }
    
    .portfolio .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .project-category {
        font-size: 0.7rem;
    }
    
    .project-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .project-desc {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .project-features {
        margin-bottom: 20px;
        padding-top: 15px;
    }
    
    .project-features li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .view-link {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    header {
        position: static;
    }
    
    .nav-links,
    .menu-toggle,
    .cta-button,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}