:root {
    --primary: #2A5CAA;
    --secondary: #D4AF37;
    --tertiary: #2055AA;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--tertiary);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: #c19b2c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline-yellow {
    border: 2px solid var(--secondary);
}

.btn-outline-yellow:hover {
    border: 2px solid #c19b2c
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.image-section {
    flex: 1;
    text-align: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder {
    margin-top: 14px;
    font-size: 1.1rem;
    color: #555;
    display: block;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.company-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    color: var(--gray);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0;
}

.service-img-container {
    height: 360px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    transform: scale(1.08);
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-img-container img {
    transform: scale(1.08);
}

.service-content {
    padding: 25px;
    position: relative;
    z-index: 3;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
    position: relative;
    display: inline-block;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.service-card:hover .service-content h3::after {
    width: 80px;
}

.service-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.service-features li {
    margin-bottom: 10px;
    color: #444;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.service-features li span {
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-cta {
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .services {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .service-img-container {
        height: 220px;
    }

    .service-content {
        padding: 20px;
    }
}

/* Pen Drives Section */
.pen-drives-section {
    padding: 60px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #3c2f2f;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 400;
}

.service-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.highlight-content {
    flex: 1;
    max-width: 50%;
}

.highlight-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #3c2f2f;
    margin-bottom: 20px;
}

.highlight-content h3 span {
    color: #1e40af;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 1.1rem;
    color: #4b4b4b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: #1e40af;
    margin-right: 10px;
    font-size: 1.2rem;
}

.highlight-image {
    flex: 1;
    max-width: 50%;
}

.highlight-image-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 768px) {
    .service-highlight {
        flex-direction: column;
        gap: 20px;
    }

    .highlight-content,
    .highlight-image {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlight-content h3 {
        font-size: 1.5rem;
    }

    .highlight-image-img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .pen-drives-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features-list li {
        font-size: 1rem;
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    grid-auto-rows: auto;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: auto;
}

.project-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial-card .quote {
    font-size: 1.2rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: left;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    text-align: left;
}

.client-name h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.client-name p {
    color: var(--gray);
    font-size: 0.9rem;
}

.stars {
    color: var(--secondary);
    margin: 15px 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 92, 170, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Map Section Styles */
.map-section {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-img,
    .about-text {
        flex: none;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.5s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .map-section {
        height: 350px;
        order: -1;
    }
}