@import url('https://fonts.googleapis.com/css2?family=Vazir:wght@300;400;500;700&display=swap');

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

:root {
    --burgundy: #09165e;
    --dark-red: #1d196f;
    --light-burgundy: #C41E3A;
    --rose-red: #20237b;
    --white: #ffffff;
    --light-gray: #F8F8F8;
    --dark-gray: #123a76;
}

body {
    font-family: 'Vazir', sans-serif;
    background: linear-gradient(135deg, var(--white) 0%, #8584dd 50%, var(--white) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(45deg, var(--burgundy), var(--dark-red), var(--light-burgundy));
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(26, 39, 156, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid transparent;
}

.nav-links a:hover {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: url(images/bg.jpg) no-repeat right center;
    background-size: cover;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(139,0,0,0.05)"/></svg>') repeat;
    animation: float 25s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(-100px) translateY(-100px) rotate(360deg); }
}

.hero-content {

    position: relative;
    z-index: 2;
    width: 45%;
    margin-right: auto;
    text-align: right;

    transform: translateX(-80px);

     
}

.hero h1 {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: #0f0909ea;
    text-shadow: 2px 2px 4px rgba(26, 57, 119, 0.1);
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #fff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, var(--burgundy), var(--light-burgundy));
    color: var(--white);
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(23, 58, 156, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(31, 49, 109, 0.4);
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--burgundy);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #a8367c 0%, var(--white) 50%, #828fdf 100%);
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    color: var(--burgundy);
    margin-bottom: 60px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(45deg, var(--burgundy), var(--light-burgundy));
    border-radius: 2px;
}

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

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(28, 50, 119, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(70, 36, 152, 0.05), transparent);
    transition: all 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(67, 39, 158, 0.2);
    border-color: var(--light-burgundy);
}

.service-icon {
    font-size: 3.5em;
    color: var(--burgundy);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--light-burgundy);
}

.service-card h3 {
    font-size: 1.6em;
    color: var(--burgundy);
    margin-bottom: 18px;
    font-weight: 600;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 1.05em;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #7575d5 0%, var(--white) 50%, #828fdf 100%);
    
    
    
}

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

.gallery-item {
    height: 280px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(80, 18, 129, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(23, 36, 120, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 17, 110, 0.7), rgba(196, 30, 58, 0.7));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5em;
    color: var(--white);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-red) 50%, var(--light-burgundy) 100%);
    color: var(--white);
}

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

.contact-info h2 {
    font-size: 2.8em;
    margin-bottom: 35px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.15em;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.8em;
    margin-left: 20px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.15);
    padding: 45px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.8em;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--white);
    font-size: 1.05em;
    font-family: 'Vazir', sans-serif;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

/* Footer */
footer {
    background: linear-gradient(45deg, #2c2c2c, #1a1a1a);
    color: var(--white);
    text-align: center;
    padding: 50px 0;
}

.social-links {
    margin-bottom: 25px;
}

.social-links a {
    color: var(--white);
    font-size: 1.8em;
    margin: 0 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--light-burgundy);
    transform: translateY(-5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8em;
    }
    
    .hero p {
        font-size: 1.2em;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .section-title {
        font-size: 2.2em;
    }
}
