:root {
    --primary-blue: #0077c8;
    --vibrant-cyan: #00d2ff;
    --deep-navy: #000814;    /* Deeper navy for more contrast */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1; /* Lighter secondary for readability */
    --accent-gradient: linear-gradient(135deg, var(--primary-blue), var(--vibrant-cyan));
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--deep-navy);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 119, 200, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.05) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.8; /* Increased for readability */
    overflow-x: hidden;
}

a {
    color: var(--vibrant-cyan);
    text-decoration: none;
    transition: 0.3s ease;
    position: relative;
}

a:hover {
    color: white;
}

.contact-details a {
    font-weight: 600;
    border-bottom: 1px dashed rgba(0, 210, 255, 0.3);
}

.contact-details a:hover {
    border-bottom-color: white;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeIn 0.8s ease forwards;
}

/* Navbar Style */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(0, 10, 26, 0.85);
    border-color: var(--vibrant-cyan);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon-bg {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.logo-icon-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    transition: 0.8s;
    pointer-events: none;
}

.logo:hover .logo-icon-bg::after {
    left: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo:hover .logo-icon-bg {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 15px 45px rgba(0, 119, 200, 0.3), 0 0 30px rgba(255, 255, 255, 0.5);
    border-color: var(--vibrant-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
}

.nav-links li a.active {
    background: var(--vibrant-cyan);
    color: var(--deep-navy);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    margin-bottom: 25px;
    line-height: 1;
    font-weight: 800;
}

.hero-branding {
    margin-bottom: 30px;
}

.hero-branding .logo-icon-bg {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 119, 200, 0.2);
    animation: logoPulse 4s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.03); box-shadow: 0 25px 70px rgba(0, 119, 200, 0.3); }
}

.hero-branding img {
    height: 100px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.3);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 170, 255, 0.4);
}

/* Background Shapes */
.hero-shapes .shape {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: -100px;
    left: -100px;
    opacity: 0.3;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--vibrant-cyan);
    bottom: -50px;
    right: -50px;
    opacity: 0.2;
}

/* Services Grid */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
}

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s ease;
    cursor: default;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--vibrant-cyan);
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--vibrant-cyan);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Enhanced Service Divisions */
.service-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.service-detail:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    background: var(--glass-bg);
    padding: 5px;
}

.service-image img {
    width: 100%;
    display: block;
    transition: 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-text {
    flex: 1.2;
}

.service-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--vibrant-cyan);
}

.service-text ul {
    list-style: none;
    margin-top: 25px;
}

.service-text li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.service-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--vibrant-cyan);
}

/* AJAX Form Response */
.form-message {
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: center;
    display: none;
    font-weight: 600;
}

.form-message.success {
    background: rgba(0, 255, 127, 0.1);
    color: #00ff7f;
    border: 1px solid rgba(0, 255, 127, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(255, 69, 0, 0.1);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.3);
    display: block;
}

/* Footer & Company Details */
footer {
    background: #000d1a;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h3 {
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-section {
    background: rgba(0, 0, 0, 0.2);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-form {
    background: var(--glass-bg);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--vibrant-cyan);
    background: rgba(255, 255, 255, 0.07);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.submit-btn {
    width: 100%;
    border: none;
    font-size: 1.1rem;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.industry-item {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.4s ease;
}

.industry-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--vibrant-cyan);
    transform: translateY(-8px);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.industry-item h4 {
    color: var(--vibrant-cyan);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Why Sreetek Section */
.why-section {
    background: linear-gradient(180deg, transparent, rgba(0, 119, 200, 0.05));
    padding: 120px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.advantage-list {
    margin-top: 40px;
}

.advantage-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--vibrant-cyan);
}

.advantage-item h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-card {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: 0.4s ease;
}

.stat-card:hover {
    border-color: var(--vibrant-cyan);
    background: rgba(0, 210, 255, 0.05);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--vibrant-cyan);
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}