/* Global Styles */
:root {
    --primary-color: #ffd809; /* Main yellow color */
    --secondary-color: #ffed4a; /* Lighter yellow for hover states */
    --dark-color: #1a1a1a; /* Dark color for text */
    --light-color: #fffdf5; /* Light yellow-tinted background */
    --gray-color: #6c757d; /* Gray for secondary text */
    --border-color: #e9ecef; /* Light gray for borders */
}

/* Add accent color to various elements */
.service-icon {
    color: var(--accent-color);
}

.feature-icon {
    color: var(--accent-color);
}

.service-text ul li:before {
    color: var(--accent-color);
}

/* Update the logo SVG to include the yellow accent */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 700;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Standard responsive headings for all pages */
.responsive-heading {
    font-size: 5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    white-space: normal !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 216, 9, 0.2), transparent 70%);
    animation: glow 4s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes glow {
    from { opacity: 0.4; }
    to { opacity: 0.8; }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Case Studies */
.case-studies {
    padding: 80px 0;
    background-color: var(--light-color);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-study img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-content {
    padding: 20px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
}

.footer-col ul {
    list-style: none;
    margin-top: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service Detail Pages */
.service-detail {
    padding: 120px 0 80px;
}

.service-detail:nth-child(even) {
    background-color: var(--light-color);
}

/* Add these new styles */
.services-hero {
    padding: 200px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/jellyfish-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-label {
    display: inline-block;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.service-number {
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.5;
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-detail {
    padding: 120px 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse .service-text {
    direction: ltr;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-icon {
    color: var(--accent-color);
    margin-right: 1rem;
    font-weight: bold;
}

.service-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.cta-section {
    background: var(--light-color);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

@media (max-width: 992px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-content.reverse {
        direction: ltr;
    }
    
    .service-number {
        font-size: 3rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .projects-grid {
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .responsive-heading {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    /* Make hero images responsive on mobile */
    .hero, 
    .about-hero, 
    .portfolio-hero,
    .services-hero,
    .cta,
    [class*="-hero"] {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        order: -1;
    }
    
    .services-grid,
    .features-grid,
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero p {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }
    
    .responsive-heading {
        font-size: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center !important;
        margin: 0 auto 1.5rem auto;
        white-space: normal !important;
    }
    
    .project-item {
        grid-template-columns: 1fr;
    }
    
    .project-item:nth-child(even) {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-content {
        padding: 0;
    }
    
    /* Further optimize hero images for very small screens */
    .hero, 
    .about-hero, 
    .portfolio-hero,
    .services-hero,
    .cta,
    [class*="-hero"] {
        background-position: center center !important;
        background-size: cover !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .responsive-heading {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        white-space: normal !important;
    }
    
    .project-number {
        font-size: 2.5rem;
    }
    
    .project-tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .service-card,
    .feature-item,
    .case-study {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card,
.feature,
.case-study {
    animation: fadeIn 0.6s ease-out forwards;
}