/* Reset and Base Styles */
/* Basic CSS reset for consistent styling across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    overflow-x: hidden;
    position: relative;
}

/* Decorative background elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #0f0e1a 0%, #1a1826 100%);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #06b6d4;
}

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

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #ffffff);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #06b6d4;
}

/* Hero Section */
/* Main hero section with gradient background and interactive elements */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0f0e1a 0%, #1a1826 50%, #0f0e1a 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 15%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    animation: pulse 6s ease-in-out infinite reverse;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 14, 26, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    color: #ffffff;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #b0bec5;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #ffffff 100%);
    color: #0f0e1a;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.btn-primary span,
.btn-primary {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    color: #06b6d4;
    border: 2px solid #06b6d4;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #ffffff 100%);
    color: #0f0e1a;
}

/* Feature Accordion */
.hero-features {
    position: relative;
}

.feature-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 3px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: #06b6d4;
    border-left-color: #06b6d4;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.accordion-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    flex-shrink: 0;
}

.accordion-icon svg {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon svg {
    transform: scale(1.1);
}

.accordion-header h3 {
    flex: 1;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.accordion-toggle {
    color: #06b6d4;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content p {
    color: #b0bec5;
    line-height: 1.6;
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-slider {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #b0bec5;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 2rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f0e1a;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #06b6d4, #ffffff);
    border-radius: 2px;
    opacity: 0.6;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #ffffff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(15, 14, 26, 0.15);
    border-color: #06b6d4;
}

.service-icon {
    margin-bottom: 1.5rem;
    color: #06b6d4;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    transform: rotate(-5deg);
    z-index: -1;
}

.service-icon svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f0e1a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Projects Section */
.projects-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.projects-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent rgba(6, 182, 212, 0.2) transparent transparent;
    transition: all 0.3s ease;
}

.project-card:hover::after {
    border-width: 0 50px 50px 0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(15, 14, 26, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #0f0e1a 0%, #1a1826 100%);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 14, 26, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #10b981;
}

.project-overlay p {
    line-height: 1.6;
}

.project-info {
    padding: 2rem;
}

.project-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(255, 255, 255, 0.1));
    color: #06b6d4;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-info h4 {
    font-size: 1.5rem;
    color: #0f0e1a;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: #64748b;
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #0f0e1a;
    margin-bottom: 2rem;
}

.about-lead {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-feature {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.about-feature h4 {
    color: #0f0e1a;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.about-feature p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.about-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

.about-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-element {
    position: absolute;
    border-radius: 12px;
    background: linear-gradient(135deg, #06b6d4 0%, #ffffff 100%);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.visual-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.visual-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 100px;
    right: 0;
    animation-delay: 2s;
}

.visual-element:nth-child(3) {
    width: 180px;
    height: 180px;
    bottom: 0;
    left: 50px;
    animation-delay: 4s;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #0f0e1a 0%, #1a1826 100%);
    color: #ffffff;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #10b981;
}

.info-item p {
    color: #b0bec5;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.info-item a {
    color: #06b6d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #22d3ee;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06b6d4;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.main-footer {
    background: #0f0e1a;
    color: #b0bec5;
    padding: 3rem 0 1.5rem;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

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

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #06b6d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #22d3ee;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f0e1a;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
}

.cookie-notification.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    color: #b0bec5;
}

.cookie-content a {
    color: #06b6d4;
    text-decoration: underline;
}

.btn-cookie {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #06b6d4 0%, #ffffff 100%);
    color: #0f0e1a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background: linear-gradient(135deg, #0891b2 0%, #ffffff 100%);
    transform: translateY(-2px);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .projects-slider {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-slider {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-bg-image {
        opacity: 0.15;
    }
    
    .project-image {
        height: 200px;
    }
    
    .about-image {
        height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
}

