* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #f6bf5a;
    --primary-light: #FFE55C;
    --primary-dark: #E6C200;
    --secondary: #6C63FF;
    --accent: #FF6B8B;
    --dark: #2D3047;
    --light: #F9F9F9;
    --text: #333333;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(246, 191, 90, 0.4);
}

/* Mobile CTA Button Styling */
.mobile-cta {
    display: none;
    width: 100%;
    margin-top: 20px;
    padding: 0 20px;
}

.mobile-cta .cta-button {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f6bf5a, #e6a429);
    color: var(--dark);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 191, 90, 0.3);
    cursor: pointer;
}

.mobile-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 191, 90, 0.4);
    background: linear-gradient(135deg, #e6a429, #d69419);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px; /* Reduced from 150px 0 100px */
    background: linear-gradient(rgba(45, 48, 71, 0.7), rgba(45, 48, 71, 0.7)), 
                url('https://www.pureglowmedia.com/images/Bournemouth.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 68vh; /* Reduced from 80vh */
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    padding: 40px;
    background: rgba(45, 48, 71, 0.7);
    border-radius: 10px;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #eee;
    font-weight: 400;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.6;
    filter: blur(20px);
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary);
    z-index: -1;
    opacity: 0.7;
}

/* Services Section */
.services {
    padding: 50px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: #777;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(246, 191, 90, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.service-card p {
    color: #666;
    font-weight: 400;
}

/* Portfolio Section */
.portfolio {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(246, 191, 90, 0.2);
}

.portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  
    color: white;
    padding: 20px;
    text-align: center;
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: white;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 50px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-weight: 400;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--dark);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Wave Section */
.wave-section {
    width: 100%;
    background: white;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.wave-section svg {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
    color: var(--dark);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    font-weight: 400;
}

.cta-button.dark {
    background: var(--dark);
    color: white;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: var(--dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: #bbb;
    font-weight: 400;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    color: var(--primary);
    font-weight: 600;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-column p {
    margin-bottom: 20px;
    color: #bbb;
    font-weight: 400;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.footer-links i {
    width: 20px;
    margin-right: 10px;
    margin-top: 3px;
    color: var(--primary);
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
    text-decoration: none;
    color: white;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-logo svg {
    height: 50px;
    width: auto;
}

/* Footer Title Styling */
.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    color: var(--primary);
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 10px 0;
        width: 100%;
    }
    
    /* Mobile CTA Button Styles */
    .mobile-cta {
        display: block;
        margin-top: 20px;
        padding: 15px 20px 0 20px;
        border-top: 1px solid #eee;
    }
    
.mobile-cta .cta-button {
        display: block;
        width: 100%;
        padding: 12px 24px;
        background: linear-gradient(135deg, #f6bf5a, #e6a429);
        color: var(--dark);
        border: none;
        border-radius: 30px;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(246, 191, 90, 0.3);
        cursor: pointer;
        margin: 0;
    }
    
    .nav-links.active {
        padding-bottom: 20px;
    }
    
    .hero {
        padding: 150px 0 60px;
        background-attachment: scroll;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
}

/* Add this to your existing CSS */
.desktop-cta {
    display: block;
}

.mobile-cta {
    display: none;
}

/* Hide desktop CTA and show mobile CTA on mobile */
@media (max-width: 768px) {
    .desktop-cta {
        display: none;
    }
    
    .mobile-cta {
        display: block;
        margin-top: 20px;
        padding: 15px 20px 0 20px;
        border-top: 1px solid #eee;
    }
    
    .mobile-cta .cta-button {
        display: block;
        width: 100%;
        padding: 12px 24px;
        background: linear-gradient(135deg, #f6bf5a, #e6a429);
        color: var(--dark);
        border: none;
        border-radius: 30px;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(246, 191, 90, 0.3);
        cursor: pointer;
        margin: 0;
    }
}

/* Fix for about section icon alignment */
.about-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.about-features .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f6bf5a;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.about-features .feature-icon i {
    font-size: 1rem;
    color: white;
}


/* Add this to your existing CSS */
.desktop-cta {
    display: block;
}

.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .desktop-cta {
        display: none;
    }
    
    .mobile-cta {
        display: block;
    }
}
@media (max-width: 768px) {
    .hero-content {
        justify-content: center;
        text-align: center;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        padding: 20px 1rem; /* Added 20px top/bottom padding */
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem; /* Ensures spacing between h1 and p */
    }
    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem; /* Ensures spacing between p and button */
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
}