/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg-pattern.png'); /* Optional pattern */
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    background: #ff5252;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-img, .about-text {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Projects Section */
.projects {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: var(--shadow);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(78, 84, 200, 0.9);
    color: var(--white);
    padding: 20px;
    transition: var(--transition);
    text-align: center;
}

.project-card:hover .project-info {
    bottom: 0;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(78, 84, 200, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #3a3f9d;
}

/* Footer New Style */
.new-footer {
    position: relative;
    padding-top: 0;
    background: transparent;
    color: #fff;
    margin-top: 100px;
}

/* Floating CTA */
.footer-cta {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
    padding: 0 20px;
}

.cta-content {
    background: linear-gradient(90deg, #ecfafd, #fefeff);
    width: 100%;
    max-width: 1100px;
    border-radius: 80px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #d90fdb;
}

.cta-text span {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.cta-text h2 {
    color: #000;
    font-size: 2rem;
    font-weight: 700;
}

.btn-cta {
    /* bg handled by .btn-gradient but keeping fallback or base interaction */
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none; /* Ensure no border */
}

/* Reusable Gradient Class */
.btn-gradient {
    background: linear-gradient(135deg, #8a2be2 0%, #4e54c8 100%);
    background-size: 200% auto;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-gradient:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

/* Footer Main */
.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Column 1 */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    line-height: 1;
}

.footer-logo span {
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.8;
}

.footer-desc {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-location h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.footer-location p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Column 2: Gallery */
.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.footer-gallery img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    transition: var(--transition);
}

.footer-gallery img:hover {
    transform: scale(1.1);
}

.footer-hours h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
}

.footer-hours p {
    font-size: 0.85rem;
    color: #ccc;
}

/* Column 3: Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Column 4: Newsletter */
.highlight-text {
    color: #00d2ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.small-text {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-newsletter {
    position: relative;
    margin-bottom: 25px;
}

.footer-newsletter input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 30px;
    width: 100%;
    color: #fff;
    padding-right: 50px;
}

.footer-newsletter input::placeholder {
    color: #aaa;
}

.footer-newsletter button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.footer-newsletter button:hover {
    color: var(--accent-color);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Content Wrapper */
.footer-content-wrapper {
    background: linear-gradient(to bottom, #5a2185, #2a0b41 60%, #1132b7);
    border-radius: 40px;
    margin: 0 20px 20px 20px;
    padding-top: 100px;
    padding-bottom: 20px;
    overflow: hidden;
}

/* Footer Bottom */
.footer-bottom-bar {
    background: rgba(255, 255, 255, 0.05); /* Lighter, more subtle */
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    margin: 0 40px; /* Indent slightly */
    border-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .cta-text h2 {
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    
    .new-footer {
        padding-top: 160px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}
