:root {
    --primary-color: #0A2647; /* Dark Blue */
    --secondary-color: #144272; /* Medium Blue */
    --accent-color: #205295; /* Light Blue */
    --highlight-color: #2C74B3; /* Bright Blue */
    --text-color: #ffffff;
    --dark-bg: #0A1B2E;
    --card-bg: rgba(20, 66, 114, 0.2);
}

/* Updated General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color);
    padding: 1rem 0;
}

.navbar-brand {
    /* color: var(--primary-color) !important; */
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--highlight-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Hero Background with Floating Shapes */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 80%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
    background: linear-gradient(45deg, var(--highlight-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards 1.4s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Code Animation */
.code-animation {
    position: absolute;
    top: -20px;
    right: -20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: codeGlow 2s ease-in-out infinite alternate;
}

@keyframes codeGlow {
    from { box-shadow: 0 0 10px rgba(44, 116, 179, 0.3); }
    to { box-shadow: 0 0 20px rgba(44, 116, 179, 0.6); }
}

.code-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: typeCode 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 2s; }
.code-line:nth-child(2) { animation-delay: 2.5s; }
.code-line:nth-child(3) { animation-delay: 3s; }

@keyframes typeCode {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-keyword {
    color: #ff6b6b;
}

.code-function {
    color: #4ecdc4;
}

.code-string {
    color: #ffe66d;
}

.code-indent {
    display: inline-block;
    width: 20px;
}

/* Hero Image */
.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

/* About Features */
.about-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--highlight-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Updated About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

/* Updated Why Choose Us Section */
.why-us {
    background: var(--primary-color);
    position: relative;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--highlight-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Updated Contact Section */
.contact-section {
    background: var(--secondary-color);
    position: relative;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(44, 116, 179, 0.5);
}

/* Interactive Elements */
.floating-element {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.animated-bg span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    animation: move 25s linear infinite;
    bottom: -150px;
}

@keyframes move {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; }
}

/* Services Section */
.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Mission & Vision Section Styles */
.mission-vision {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.mission-vision h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.mission-vision h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--highlight-color);
}

.mission-card, .vision-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    background: var(--highlight-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3, .vision-card h3 {
    color: var(--highlight-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Mission Points Styling */
.mission-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-points li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.mission-points li i {
    color: var(--highlight-color);
    margin-right: 10px;
}

/* Vision Goals Styling */
.vision-goals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.goal-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-5px);
}

.goal-icon {
    background: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.goal-icon i {
    color: var(--highlight-color);
    font-size: 1.5rem;
}

.goal-item span {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Card Overlay Effect */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover .card-overlay,
.vision-card:hover .card-overlay {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vision-goals {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-card, .vision-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .vision-goals {
        grid-template-columns: 1fr;
    }
}

/* Contact Cards */
.contact-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    line-height: 2;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Company Info Styling */
.company-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.company-info h4 {
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--highlight-color);
    margin-right: 10px;
}

/* Email Link Styling */
a[href^="mailto"] {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a[href^="mailto"]:hover {
    color: var(--accent-color);
}

/* Footer Company Info */
.footer .contact-info {
    margin-top: 1rem;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer .contact-info i {
    margin-right: 10px;
    color: var(--highlight-color);
}

/* Contact Form Styling */
.php-email-form {
    background: rgba(10, 38, 71, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Form Controls */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #2C74B3;
    box-shadow: 0 0 15px rgba(44, 116, 179, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Textarea Specific Styles */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Error Messages */
.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Submit Button */
.php-email-form button {
    background: linear-gradient(45deg, #0A2647, #2C74B3);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.php-email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #2C74B3, #0A2647);
}

/* Success Message */
.alert-success {
    background: rgba(47, 240, 174, 0.1);
    border: 1px solid #2C74B3;
    color: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Form Group Spacing */
.form-group {
    position: relative;
    /* margin-bottom: 1.5rem; */
}

/* Custom Scrollbar for Textarea */
textarea.form-control::-webkit-scrollbar {
    width: 8px;
}

textarea.form-control::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

textarea.form-control::-webkit-scrollbar-thumb {
    background: #2C74B3;
    border-radius: 4px;
}

/* Valid State */
.form-control.valid {
    border-color: rgba(47, 240, 174, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .php-email-form {
        padding: 1.5rem;
    }
    
    .form-control {
        padding: 0.875rem 1.25rem;
    }
}

/* Input Focus Animation */
.form-control:focus {
    transform: translateY(-2px);
}

/* Form Container Hover Effect */
.php-email-form:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Form Row Spacing */
.row {
    margin: 0 -10px;
}

.col-md-6 {
    padding: 0 10px;
}

/* Success Message Animation */
.alert-success {
    transition: all 0.3s ease;
}

/* Form Fields Hover Effect */
.form-control:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Copyright Section Styling */
.copyright-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    position: relative;
}

.copyright-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    margin-bottom: 1.5rem;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.copyright-links {
    margin-top: 0.5rem;
}

.copyright-links a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.copyright-links a:hover {
    color: #fff;
}

.copyright-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.copyright-links a:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .copyright-text {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .copyright-links {
        margin-top: 0;
    }
}

/* Contact Info Card Styling */
.contact-info-card {
    background: rgba(10, 38, 71, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
}

/* Icon Styling */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #0A2647, #2C74B3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.contact-info-item:hover .icon-wrapper::after {
    transform: translateX(100%);
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: #fff;
}

/* Content Styling */
.contact-content {
    flex-grow: 1;
}

.contact-content h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.email-links {
    margin-bottom: 1rem;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--highlight-color);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.email-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.email-link i {
    font-size: 1rem;
}

/* Response Time Styling */
.response-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.response-time i {
    color: var(--highlight-color);
}

/* Floating Animation */
.floating-element {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .email-link {
        justify-content: center;
    }

    .response-time {
        justify-content: center;
    }
}

/* Hover Effects */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(44, 116, 179, 0.1),
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-info-card:hover::before {
    opacity: 1;
}

/* Privacy and Terms Pages Common Styles */
.privacy-section, .terms-section {
    background-color: var(--dark-bg);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.privacy-section::before, .terms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 38, 71, 0.7), rgba(44, 116, 179, 0.3));
    z-index: 0;
}

/* Page Header */
.page-header {
    position: relative;
    text-align: center;
    /* margin-bottom: 4rem; */
    padding: 2rem;
    /* background: rgba(10, 38, 71, 0.8); */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--highlight-color);
}

/* Company Info Card */
.company-info {
    background: rgba(44, 116, 179, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.company-info h4 {
    color: var(--highlight-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.company-info p {
    color: #fff;
    font-size: 1.1rem;
}

/* Content Sections */
.privacy-content, .terms-content {
    /* background: rgba(10, 38, 71, 0.8); */
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    position: relative;
    margin-bottom: 3rem;
}

.privacy-content h2, .terms-content h2 {
    color: var(--highlight-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(44, 116, 179, 0.3);
}

.privacy-content p, .terms-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.privacy-content ul, .terms-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.privacy-content ul li, .terms-content ul li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.privacy-content ul li::before, .terms-content ul li::before {
    content: '→';
    color: var(--highlight-color);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Section Cards */
.section-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact-section {
    background: rgba(44, 116, 179, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.contact-section h2 {
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.contact-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: var(--highlight-color);
}

/* Footer Styling */
.footer {
    background: var(--primary-color);
    padding: 2rem 0;
    position: relative;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-content, .terms-content {
        padding: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .company-info h4 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Close Button Styling */
.close-button-container {
    margin-top: 3rem;
    padding: 1rem;
}

.close-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--highlight-color));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.close-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.close-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.close-button:hover::before {
    left: 100%;
}

.close-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.close-button:hover i {
    transform: rotate(90deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .close-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Responsive Hero Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .code-animation {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 1rem;
    }
    
    .about-features {
        flex-direction: column;
    }
    
    .shape {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
} 

/* Hero Design Element */
.hero-design-element {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hexagon {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--highlight-color), var(--accent-color));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: rotate 8s linear infinite;
}

.circle {
    position: absolute;
    top: 60%;
    right: 25%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.square {
    position: absolute;
    bottom: 30%;
    left: 60%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--highlight-color), var(--primary-color));
    transform: rotate(45deg);
    animation: bounce 4s ease-in-out infinite;
}

.triangle {
    position: absolute;
    top: 40%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--highlight-color);
    animation: float 6s ease-in-out infinite;
}

/* Gradient Sphere */
.gradient-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(44, 116, 179, 0.8), 
        rgba(32, 82, 149, 0.6), 
        rgba(20, 66, 114, 0.4));
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(44, 116, 179, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: sphereGlow 4s ease-in-out infinite alternate;
}

/* Floating Dots */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--highlight-color);
    border-radius: 50%;
    animation: floatDot 5s ease-in-out infinite;
}

.dot-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.dot-2 {
    top: 25%;
    right: 20%;
    animation-delay: 1s;
}

.dot-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.dot-4 {
    bottom: 40%;
    right: 10%;
    animation-delay: 3s;
}

.dot-5 {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

/* About Design Element */
.about-design-element {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Tech Stack Visual */
.tech-stack-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: techFloat 6s ease-in-out infinite;
}

.tech-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tech-icon i {
    font-size: 2rem;
    color: var(--highlight-color);
}

.tech-icon span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Position tech icons in a circle */
.tech-icon:nth-child(1) {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.tech-icon:nth-child(3) {
    bottom: 30%;
    right: 10%;
    animation-delay: 2s;
}

.tech-icon:nth-child(4) {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.tech-icon:nth-child(5) {
    bottom: 30%;
    left: 10%;
    animation-delay: 4s;
}

.tech-icon:nth-child(6) {
    top: 30%;
    left: 10%;
    animation-delay: 5s;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
    height: 2px;
    animation: lineGlow 3s ease-in-out infinite;
}

.line-1 {
    top: 20%;
    left: 20%;
    width: 60%;
    transform: rotate(0deg);
    animation-delay: 0s;
}

.line-2 {
    top: 40%;
    left: 15%;
    width: 70%;
    transform: rotate(60deg);
    animation-delay: 1s;
}

.line-3 {
    top: 60%;
    left: 10%;
    width: 80%;
    transform: rotate(120deg);
    animation-delay: 2s;
}

.line-4 {
    top: 80%;
    left: 5%;
    width: 90%;
    transform: rotate(180deg);
    animation-delay: 3s;
}

.line-5 {
    top: 50%;
    left: 50%;
    width: 50%;
    transform: rotate(45deg);
    animation-delay: 4s;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

@keyframes sphereGlow {
    from { 
        box-shadow: 
            0 0 30px rgba(44, 116, 179, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    to { 
        box-shadow: 
            0 0 50px rgba(44, 116, 179, 0.6),
            inset 0 0 50px rgba(255, 255, 255, 0.2);
    }
}

@keyframes floatDot {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.2); }
}

@keyframes techFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Responsive adjustments for design elements */
@media (max-width: 768px) {
    .hero-design-element,
    .about-design-element {
        height: 300px;
    }
    
    .gradient-sphere {
        width: 80px;
        height: 80px;
    }
    
    .tech-icon {
        padding: 0.8rem;
    }
    
    .tech-icon i {
        font-size: 1.5rem;
    }
    
    .tech-icon span {
        font-size: 0.7rem;
    }
    
    .hexagon {
        width: 40px;
        height: 40px;
    }
    
    .circle {
        width: 60px;
        height: 60px;
    }
    
    .square {
        width: 35px;
        height: 35px;
    }
    
    .triangle {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-bottom: 35px solid var(--highlight-color);
    }
}

@media (max-width: 576px) {
    .hero-design-element,
    .about-design-element {
        height: 250px;
    }
    
    .gradient-sphere {
        width: 60px;
        height: 60px;
    }
    
    .tech-icon {
        padding: 0.6rem;
    }
    
    .tech-icon i {
        font-size: 1.2rem;
    }
    
    .tech-icon span {
        font-size: 0.6rem;
    }
} 