:root {
    --primary-color: #2d1b69;
    --secondary-color: #1a103f;
    --accent-color: #00d4aa;
    --teal-accent: #00b4d8;
    --purple-accent: #7209b7;
    --text-color: #333;
    --light-text: #fff;
    --text-accent: #00d4aa;
    --gradient-primary: linear-gradient(135deg, #2d1b69 0%, #1a103f 50%, #0f0f23 100%);
    --gradient-accent: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%);
    --gradient-purple: linear-gradient(135deg, #7209b7 0%, #560bad 100%);
    --gradient-teal: linear-gradient(135deg, #00d4aa 0%, #0099cc 100%);
    --gradient-glow: linear-gradient(135deg, #00d4aa 0%, #7209b7 50%, #00b4d8 100%);
}

/* General Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(0,212,170,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: grainShift 20s ease infinite;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200%;
    animation: textGradient 6s linear infinite;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-badge {
    display: inline-block;
}

.hero-badge .badge {
    background: var(--gradient-accent) !important;
    border: 2px solid rgba(0,212,170,0.3);
    backdrop-filter: blur(10px);
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.3);
    font-size: 45px;
}

/* Email Contact */
.email-contact {
    /* background: rgba(255, 255, 255, 0.08); */
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem;
    /* border: 1px solid rgba(0, 212, 170, 0.1); */
    margin: 2rem 0;
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.2); */
    transition: all 0.3s ease;
}

.email-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border-color: rgba(0, 212, 170, 0.3);
}

.email-contact h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.email-display:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.email-display i {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

.email-text {
    font-family: 'Inter', sans-serif;
    word-break: break-all;
    font-weight: 600;
}

/* Social Media */
.social-links {
    margin-top: 2rem;
}

.social-links h5 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid rgba(0, 212, 170, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.4s ease;
    z-index: -1;
}

.social-icon:hover::before {
    left: 0;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 212, 170, 0.4);
    color: white;
    border-color: var(--accent-color);
}

.social-icon i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Floating Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    color: rgba(0, 212, 170, 0.15);
    font-size: 2.5rem;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.floating-element:nth-child(2) {
    animation-delay: 2s;
    color: rgba(114, 9, 183, 0.15);
}

.floating-element:nth-child(3) {
    animation-delay: 4s;
    color: rgba(255, 255, 255, 0.1);
}

.floating-element:nth-child(4) {
    animation-delay: 1s;
    color: rgba(0, 180, 216, 0.2);
}

.floating-element:nth-child(5) {
    animation-delay: 3s;
    color: rgba(0, 212, 170, 0.1);
}

.floating-element:nth-child(6) {
    animation-delay: 5s;
    color: rgba(255, 255, 255, 0.08);
}

/* Countdown Timer */
.countdown-container {
    margin: 3rem 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 212, 170, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Progress Bar */
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    background: var(--gradient-accent);
    border-radius: 5px;
    transition: width 2s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Section Badges */
.section-badge {
    display: inline-block;
}

.section-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Section */
.about-content {
    padding-right: 2rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Tech Stack Grid */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.tech-item {
    background: var(--light-text);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.1), transparent);
    transition: left 0.5s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tech-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tech-item::after {
    content: attr(data-tech);
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-item:hover::after {
    opacity: 1;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--teal-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 212, 170, 0.3);
}

/* Section Styles */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

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

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-text);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--light-text);
}

/* Contact Section */
.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(45, 27, 105, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(45, 27, 105, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.contact-icon i {
    color: var(--light-text);
    font-size: 1.4rem;
}

.contact-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: 500;
}

/* Contact Form */
.php-email-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.php-email-form .form-control {
    height: 55px;
    padding: 15px 25px;
    border: 2px solid rgba(45, 27, 105, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
}

.php-email-form textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
}

.php-email-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.php-email-form button[type="submit"] {
    background: var(--gradient-accent);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.php-email-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.5);
}

/* Error Message Styling */
.error-message {
    color: var(--accent-color);
    font-size: 14px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

/* Success Message Styling */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
    padding: 20px 25px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

/* Form Group Spacing */
/* .form-group {
    margin-bottom: 20px;
} */

/* Input Placeholder Styling */
.php-email-form .form-control::placeholder {
    color: rgba(45, 27, 105, 0.6);
    opacity: 0.8;
    font-weight: 400;
}

/* Form Animation */
.php-email-form .form-control, 
.php-email-form button {
    animation: fadeInUp 0.6s ease forwards;
}

/* Form Validation Styling */
/* .php-email-form .form-control.valid {
    border-color: #28a745;
} */

.php-email-form .form-control.invalid {
    border-color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .php-email-form {
        padding: 20px;
    }
    
    .php-email-form .form-control {
        height: 45px;
        font-size: 14px;
    }
    
    .php-email-form button[type="submit"] {
        width: 100%;
    }
    
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-item {
        padding: 1rem;
    }
    
    .email-contact {
        padding: 2rem;
        margin: 1.5rem 0;
    }
    
    .email-display {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-element {
        font-size: 2rem;
    }
    
    .hero-badge .badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .email-contact {
        padding: 1.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.service-card, .feature-card, .mission-card, .vision-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Hero Section Animations */
.hero-content {
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Interactive Elements */
.hero .btn-accent, .btn-accent {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    background: var(--gradient-accent);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.hero .btn-accent:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.5s ease;
    z-index: -1;
}

.hero .btn-accent:hover:before {
    left: 0;
}

.hero .btn-accent:hover, .btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.5);
}

/* Responsive Text Animation */
@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Close Button Styling */
.close-btn {
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    background-color: transparent;
    color: var(--accent-color);
}

.close-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 212, 170, 0.3);
}

.close-btn i {
    font-size: 1.1rem;
}

/* Text Accent Color */
.text-accent {
    color: var(--text-accent) !important;
    text-shadow: 0 2px 4px rgba(0, 212, 170, 0.3);
}

/* Badge Styling */
.badge.bg-accent {
    background: var(--gradient-accent) !important;
} 